summaryrefslogtreecommitdiff
path: root/extra/lua
diff options
context:
space:
mode:
authorMichał Masłowski <mtjm@mtjm.eu>2012-03-16 10:34:49 +0100
committerMichał Masłowski <mtjm@mtjm.eu>2012-03-16 10:34:49 +0100
commitf24ad15758f8eebcc46cb0c210f888491869d3f0 (patch)
tree85c74dd33e056502de7a306161d28f5b15b274c2 /extra/lua
parent5f4568c7f7ba204bc047d2c74a5721f23024b339 (diff)
parent636ce8849a9c82c1787c2919ffcfe6685cb799d3 (diff)
Merge branch 'master' of ssh://parabolagnulinux.org:1863/home/parabola/abslibre-pre-mips64el
Conflicts: community/chmsee/PKGBUILD community/darkstat/PKGBUILD community/dbmail/PKGBUILD community/dvdisaster/PKGBUILD community/epic4/PKGBUILD community/fb-client/PKGBUILD community/fcrackzip/PKGBUILD community/fdupes/PKGBUILD community/flobopuyo/PKGBUILD community/intel-tbb/PKGBUILD community/openbsd-netcat/PKGBUILD community/sunpinyin/PKGBUILD community/tinc/PKGBUILD community/uudeview/PKGBUILD community/zathura/PKGBUILD core/libedit/PKGBUILD core/mkinitcpio-busybox/PKGBUILD core/openssl/PKGBUILD core/util-linux/PKGBUILD extra/lua/PKGBUILD gnome-unstable/pidgin/PKGBUILD testing/openssl/PKGBUILD testing/sudo/PKGBUILD testing/udev/PKGBUILD testing/util-linux/PKGBUILD
Diffstat (limited to 'extra/lua')
-rw-r--r--extra/lua/PKGBUILD17
1 files changed, 7 insertions, 10 deletions
diff --git a/extra/lua/PKGBUILD b/extra/lua/PKGBUILD
index 67806966e..2b567ab04 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' 'mips64el')
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" != "i686" ] && patch -p1 -i "${srcdir}/lua-5.1-cflags.diff"
- [ "$CARCH" != "i686" ] && 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