summaryrefslogtreecommitdiff
path: root/extra/lua/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'extra/lua/PKGBUILD')
-rw-r--r--extra/lua/PKGBUILD10
1 files changed, 5 insertions, 5 deletions
diff --git a/extra/lua/PKGBUILD b/extra/lua/PKGBUILD
index 2b567ab04..1c3d9ee33 100644
--- a/extra/lua/PKGBUILD
+++ b/extra/lua/PKGBUILD
@@ -1,10 +1,10 @@
-# $Id: PKGBUILD 153491 2012-03-14 23:43:56Z eric $
+# $Id: PKGBUILD 156332 2012-04-17 10:35:09Z bluewind $
# Maintainer: Juergen Hoetzel <juergen@archlinux.org>
# Contributor: Damir Perisa <damir.perisa@bluewin.ch>
pkgname=lua
pkgver=5.1.5
-pkgrel=1
+pkgrel=2
pkgdesc="A powerful light-weight programming language designed for extending applications"
arch=('i686' 'x86_64' 'mips64el')
url="http://www.lua.org/"
@@ -14,7 +14,7 @@ options=('!makeflags' '!emptydirs')
source=(http://www.lua.org/ftp/${pkgname}-${pkgver}.tar.gz
lua-arch.patch lua-5.1-cflags.diff)
md5sums=('2e115fe26e435e33b0d5c022e4490567'
- '6c5953f63904bf20a0183cdab05b80de'
+ 'fa25feb70ef9fec975b1c20da5098b3c'
'249582bf1fd861ccf492d2c35a9fe732')
build() {
@@ -23,14 +23,14 @@ build() {
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 \
+ make INSTALL_DATA="cp -d" TO_LIB="liblua.a liblua.so liblua.so.5.1" \
INSTALL_TOP="${pkgdir}/usr" INSTALL_MAN="${pkgdir}/usr/share/man/man1" \
linux
}
package() {
cd "${srcdir}/${pkgname}-${pkgver}"
- make INSTALL_DATA="cp -d" TO_LIB="liblua.a liblua.so liblua.so.5.1" LUA_SO=liblua.so \
+ make INSTALL_DATA="cp -d" TO_LIB="liblua.a liblua.so liblua.so.5.1 liblua.so.$pkgver" \
INSTALL_TOP="${pkgdir}/usr" INSTALL_MAN="${pkgdir}/usr/share/man/man1" \
install
install -D -m644 etc/lua.pc "${pkgdir}/usr/lib/pkgconfig/lua.pc"