diff options
author | James Meyer <james.meyer@operamail.com> | 2009-03-14 05:24:05 (GMT) |
---|---|---|
committer | James Meyer <james.meyer@operamail.com> | 2009-03-14 05:24:05 (GMT) |
commit | c70a79c1e2deec8d508f34776befe11dab701e49 (patch) | |
tree | e316035b1059e5e4c3985fa64e7a3fa98ad697db /abs/extra-testing/community/lua/PKGBUILD | |
parent | c7d4d0ec62e50c879908ab9f5e6b82c59124d338 (diff) | |
download | linhes_pkgbuild-c70a79c1e2deec8d508f34776befe11dab701e49.zip linhes_pkgbuild-c70a79c1e2deec8d508f34776befe11dab701e49.tar.gz linhes_pkgbuild-c70a79c1e2deec8d508f34776befe11dab701e49.tar.bz2 |
Adding missing PKGBUILDS, needed for VLC.
fluidsynth
libdvbpsi
libmatroska
libmodplug
libmpcded
libshout
libv4l
lua
zvbi
Diffstat (limited to 'abs/extra-testing/community/lua/PKGBUILD')
-rw-r--r-- | abs/extra-testing/community/lua/PKGBUILD | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/abs/extra-testing/community/lua/PKGBUILD b/abs/extra-testing/community/lua/PKGBUILD new file mode 100644 index 0000000..ff0b435 --- /dev/null +++ b/abs/extra-testing/community/lua/PKGBUILD @@ -0,0 +1,30 @@ +# $Id: PKGBUILD 10401 2008-08-29 00:31:46Z allan $ +# Maintainer: Juergen Hoetzel <juergen@archlinux.org> +# Contributor: Damir Perisa <damir.perisa@bluewin.ch> + +pkgname=lua +pkgver=5.1.4 +pkgrel=3 +pkgdesc="A powerful light-weight programming language designed for extending applications." +arch=(i686 x86_64) +url="http://www.lua.org/" +depends=('readline' 'ncurses') +license=(MIT) +options=('!makeflags') +source=($url/ftp/$pkgname-$pkgver.tar.gz $pkgname-arch.patch 'lua-5.1-cflags.diff') +md5sums=('d0870f2de55d59c1c8419f36e8fac150' + '1bd1164a19abf9165e231ba0d8a0bbc7' + '249582bf1fd861ccf492d2c35a9fe732') + +build() { + cd $startdir/src/$pkgname-$pkgver + patch -p1 -i $startdir/src/$pkgname-arch.patch || return 1 + + [ "$CARCH" == "x86_64" ] && patch -Np1 -i ../lua-5.1-cflags.diff + [ "$CARCH" == "x86_64" ] && export CFLAGS="$CFLAGS -fPIC" + make INSTALL_DATA="cp -d" TO_LIB="liblua.a liblua.so liblua.so.5.1" LUA_SO=liblua.so INSTALL_TOP=$startdir/pkg/usr INSTALL_MAN=$startdir/pkg/usr/share/man/man1 \ + linux install || return 1 + install -D -m 644 etc/lua.pc $startdir/pkg/usr/lib/pkgconfig/lua.pc + install -D -m644 COPYRIGHT $startdir/pkg/usr/share/licenses/$pkgname/COPYRIGHT +} +# vim: ts=2 sw=2 et ft=sh |