summaryrefslogtreecommitdiff
path: root/extra/lua
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2013-04-05 00:06:04 -0700
committerroot <root@rshg054.dnsready.net>2013-04-05 00:06:04 -0700
commit3c7a59bfd2b8340068df7dc196e0c9b612b9ef31 (patch)
tree355d93a0286f98e9b5ba02d7e5b840eedb38e2b1 /extra/lua
parent1b6860ed7a33a22c4202348a4f42afbb5d26be09 (diff)
Fri Apr 5 00:06:03 PDT 2013
Diffstat (limited to 'extra/lua')
-rw-r--r--extra/lua/PKGBUILD14
1 files changed, 7 insertions, 7 deletions
diff --git a/extra/lua/PKGBUILD b/extra/lua/PKGBUILD
index a2759612f..571cd7894 100644
--- a/extra/lua/PKGBUILD
+++ b/extra/lua/PKGBUILD
@@ -1,12 +1,12 @@
-# $Id: PKGBUILD 173169 2012-12-12 00:31:37Z eric $
+# $Id: PKGBUILD 181843 2013-04-04 12:42:25Z bpiotrowski $
# Maintainer: Sébastien Luttringer <seblu@archlinux.org>
# Contributor: Juergen Hoetzel <juergen@archlinux.org>
# Contributor: Damir Perisa <damir.perisa@bluewin.ch>
pkgname=lua
-pkgver=5.2.1
-pkgrel=3
-pkgdesc='A powerful light-weight programming language designed for extending applications'
+pkgver=5.2.2
+pkgrel=1
+pkgdesc='Powerful light-weight programming language designed for extending applications'
arch=('i686' 'x86_64')
url='http://www.lua.org/'
depends=('readline')
@@ -14,7 +14,7 @@ license=('MIT')
options=('!makeflags' '!emptydirs')
source=("http://www.lua.org/ftp/$pkgname-$pkgver.tar.gz"
'liblua.so.patch' 'lua.pc' 'LICENSE')
-md5sums=('ae08f641b45d737d12d30291a5e5f6e3'
+md5sums=('efbb645e897eae37cad4344ce8b0a614'
'bdc663c7b82ffc0b5df67611621fb625'
'e7ba6c2b695b0b84a5ea0cbff5fc9067'
'0e2bd67b909b9ff673da844ca3480df2')
@@ -22,7 +22,7 @@ md5sums=('ae08f641b45d737d12d30291a5e5f6e3'
build() {
cd $pkgname-$pkgver
patch -p1 -i "$srcdir/liblua.so.patch"
- [[ $CARCH == x86_64 ]] && export CFLAGS="$CFLAGS -fPIC"
+ export CFLAGS="$CFLAGS -fPIC"
make MYCFLAGS="$CFLAGS" MYLDFLAGS="$LDFLAGS" linux
sed "s/%VER%/${pkgver%.*}/g;s/%REL%/$pkgver/g" ../lua.pc > lua.pc
}
@@ -30,7 +30,7 @@ build() {
package() {
cd $pkgname-$pkgver
make \
- TO_LIB="liblua.a liblua.so liblua.so.5.2 liblua.so.$pkgver" \
+ TO_LIB="liblua.a liblua.so liblua.so.5.2 liblua.so.5.2.1" \
INSTALL_DATA="cp -d" \
INSTALL_TOP="$pkgdir/usr" \
INSTALL_MAN="$pkgdir/usr/share/man/man1" \