summaryrefslogtreecommitdiff
path: root/community/lua-zlib
diff options
context:
space:
mode:
Diffstat (limited to 'community/lua-zlib')
-rw-r--r--community/lua-zlib/PKGBUILD11
1 files changed, 6 insertions, 5 deletions
diff --git a/community/lua-zlib/PKGBUILD b/community/lua-zlib/PKGBUILD
index 8243438d4..d5c789cdf 100644
--- a/community/lua-zlib/PKGBUILD
+++ b/community/lua-zlib/PKGBUILD
@@ -1,10 +1,11 @@
-# $Id: PKGBUILD 93120 2013-06-25 09:38:45Z spupykin $
+# $Id: PKGBUILD 93160 2013-06-26 13:34:20Z spupykin $
# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
-pkgname=(lua-zlib lua51-zlib)
+#pkgname=(lua-zlib lua51-zlib)
+pkgname=(lua51-zlib)
pkgbase=lua-zlib
pkgver=0.2
-pkgrel=6
+pkgrel=8
_gitver=8d07669
url="http://github.com/brimworks/lua-zlib"
pkgdesc='Simple streaming interface to zlib for Lua.'
@@ -19,10 +20,10 @@ build() {
cp -a $srcdir/brimworks-lua-zlib-${_gitver} $srcdir/brimworks-lua51-zlib-${_gitver}
cd $srcdir/brimworks-lua-zlib-${_gitver}
- gcc -o zlib.so -O2 -fPIC -shared lua_zlib.c -llua
+ gcc -o zlib.so -O2 -fPIC -shared lua_zlib.c -llua -lz
cd $srcdir/brimworks-lua51-zlib-${_gitver}
- gcc -o zlib.so -O2 -fPIC -shared -I/usr/include/lua5.1 lua_zlib.c -llua5.1
+ gcc -o zlib.so -O2 -fPIC -shared -I/usr/include/lua5.1 lua_zlib.c -llua5.1 -lz
}
package_lua-zlib() {