summaryrefslogtreecommitdiff
path: root/community/lua-zlib/PKGBUILD
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2013-06-27 01:08:30 -0700
committerroot <root@rshg054.dnsready.net>2013-06-27 01:08:30 -0700
commit7851c02115b35e64fc3b827b29c79023d4518f6f (patch)
tree31fd94dd2170ee2c1a9cc08625c00b049df2c37e /community/lua-zlib/PKGBUILD
parent38e0c9a91ef567c6656f4c45423160f0e3964250 (diff)
Thu Jun 27 01:08:30 PDT 2013
Diffstat (limited to 'community/lua-zlib/PKGBUILD')
-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() {