diff options
author | root <root@rshg054.dnsready.net> | 2012-03-16 00:01:21 +0000 |
---|---|---|
committer | root <root@rshg054.dnsready.net> | 2012-03-16 00:01:21 +0000 |
commit | cd326e60e1e54ebe83bd700850b313c69f419eef (patch) | |
tree | b15df594ae07c150fff4a55c0d1a01885b232dd0 /extra/lua | |
parent | 14635ca5380a480450a66c3fcc29992d29a2bd8e (diff) |
Fri Mar 16 00:01:21 UTC 2012
Diffstat (limited to 'extra/lua')
-rw-r--r-- | extra/lua/PKGBUILD | 17 |
1 files changed, 7 insertions, 10 deletions
diff --git a/extra/lua/PKGBUILD b/extra/lua/PKGBUILD index 2020b0270..cb2ea2c01 100644 --- a/extra/lua/PKGBUILD +++ b/extra/lua/PKGBUILD @@ -1,11 +1,10 @@ -# $Id: PKGBUILD 142952 2011-11-19 04:33:22Z eric $ +# $Id: PKGBUILD 153491 2012-03-14 23:43:56Z eric $ # Maintainer: Juergen Hoetzel <juergen@archlinux.org> # Contributor: Damir Perisa <damir.perisa@bluewin.ch> pkgname=lua -pkgver=5.1.4 -pkgrel=9 -_patchver=5.1.4-4 +pkgver=5.1.5 +pkgrel=1 pkgdesc="A powerful light-weight programming language designed for extending applications" arch=('i686' 'x86_64') url="http://www.lua.org/" @@ -13,19 +12,17 @@ depends=('readline') license=('MIT') options=('!makeflags' '!emptydirs') source=(http://www.lua.org/ftp/${pkgname}-${pkgver}.tar.gz - http://www.lua.org/ftp/patch-lua-${_patchver} lua-arch.patch lua-5.1-cflags.diff) -md5sums=('d0870f2de55d59c1c8419f36e8fac150' - '329d8695e3e6f1267190e220559f7b6c' +md5sums=('2e115fe26e435e33b0d5c022e4490567' '6c5953f63904bf20a0183cdab05b80de' '249582bf1fd861ccf492d2c35a9fe732') build() { cd "${srcdir}/${pkgname}-${pkgver}" - patch -p0 -i "${srcdir}/patch-lua-${_patchver}" -d src patch -p1 -i "${srcdir}/lua-arch.patch" - [ "$CARCH" == "x86_64" ] && patch -p1 -i "${srcdir}/lua-5.1-cflags.diff" - [ "$CARCH" == "x86_64" ] && export CFLAGS="$CFLAGS -fPIC" + patch -p1 -i "${srcdir}/lua-5.1-cflags.diff" + 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="${pkgdir}/usr" INSTALL_MAN="${pkgdir}/usr/share/man/man1" \ linux |