diff options
Diffstat (limited to 'community/lua-zlib/PKGBUILD')
-rw-r--r-- | community/lua-zlib/PKGBUILD | 15 |
1 files changed, 9 insertions, 6 deletions
diff --git a/community/lua-zlib/PKGBUILD b/community/lua-zlib/PKGBUILD index 8e277dd62..a7878b14a 100644 --- a/community/lua-zlib/PKGBUILD +++ b/community/lua-zlib/PKGBUILD @@ -1,10 +1,10 @@ -# $Id: PKGBUILD 86219 2013-03-13 13:38:07Z spupykin $ +# $Id: PKGBUILD 92720 2013-06-13 12:58:26Z spupykin $ # Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com> pkgname=(lua-zlib lua51-zlib) pkgbase=lua-zlib pkgver=0.2 -pkgrel=4 +pkgrel=5 _gitver=8d07669 url="http://github.com/brimworks/lua-zlib" pkgdesc='Simple streaming interface to zlib for Lua.' @@ -22,11 +22,13 @@ build() { sed -i "s#share/lua/cmod#lib/lua/5.2#" CMakeLists.txt cmake -DCMAKE_BUILD_TYPE=Release \ -DCMAKE_INSTALL_PREFIX=/usr . + make cd $srcdir/brimworks-lua51-zlib-${_gitver} - sed -i "s#share/lua/cmod#lib/lua/5.1#" CMakeLists.txt - cmake -DCMAKE_BUILD_TYPE=Release \ - -DCMAKE_INSTALL_PREFIX=/usr . +# sed -i "s#share/lua/cmod#lib/lua/5.1#" CMakeLists.txt +# cmake -DCMAKE_BUILD_TYPE=Release \ +# -DCMAKE_INSTALL_PREFIX=/usr . + make linux } package_lua-zlib() { @@ -41,6 +43,7 @@ package_lua51-zlib() { depends=('zlib' 'lua51') cd $srcdir/brimworks-lua51-zlib-${_gitver} - make DESTDIR="$pkgdir" install + mkdir -p $pkgdir/usr/lib/lua/5.1 + make DESTDIR="$pkgdir" LUACPATH=$pkgdir/usr/lib/lua/5.1 install install -D -m644 "README" "$pkgdir/usr/share/licenses/$pkgname/README" } |