summaryrefslogtreecommitdiff
path: root/community/lua-zlib/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'community/lua-zlib/PKGBUILD')
-rw-r--r--community/lua-zlib/PKGBUILD22
1 files changed, 11 insertions, 11 deletions
diff --git a/community/lua-zlib/PKGBUILD b/community/lua-zlib/PKGBUILD
index a2ad97c2c..ce7b21d48 100644
--- a/community/lua-zlib/PKGBUILD
+++ b/community/lua-zlib/PKGBUILD
@@ -1,11 +1,11 @@
-# $Id: PKGBUILD 66222 2012-02-23 03:34:22Z spupykin $
+# $Id: PKGBUILD 81123 2012-12-12 00:49:35Z eric $
# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
pkgname=lua-zlib
pkgver=0.2
-pkgrel=2
+pkgrel=3
_gitver=8d07669
-_luaver=5.1
+_luaver=5.2
url="http://github.com/brimworks/lua-zlib"
pkgdesc='Simple streaming interface to zlib for Lua.'
arch=('i686' 'x86_64' 'mips64el')
@@ -14,17 +14,17 @@ depends=('lua' 'zlib')
makedepends=('cmake')
conflicts=('lua-lzlib')
source=("lua-zlib-$pkgver.zip::https://github.com/brimworks/lua-zlib/zipball/v$pkgver")
-md5sums=('d7ca7d12b6e50e3ec4c2057f65ca87d1')
+md5sums=('28ce556fccb2d364bc5392f63c6f89ee')
build() {
- cd $srcdir/brimworks-lua-zlib-${_gitver}
- sed -i "s#share/lua/cmod#lib/lua/${_luaver}#" CMakeLists.txt
- cmake -DCMAKE_BUILD_TYPE=Release \
- -DCMAKE_INSTALL_PREFIX=/usr .
+ cd $srcdir/brimworks-lua-zlib-${_gitver}
+ sed -i "s#share/lua/cmod#lib/lua/${_luaver}#" CMakeLists.txt
+ cmake -DCMAKE_BUILD_TYPE=Release \
+ -DCMAKE_INSTALL_PREFIX=/usr .
}
package() {
- cd $srcdir/brimworks-lua-zlib-${_gitver}
- make DESTDIR="$pkgdir" install
- install -D -m644 "README" "$pkgdir/usr/share/licenses/lua-zlib/README"
+ cd $srcdir/brimworks-lua-zlib-${_gitver}
+ make DESTDIR="$pkgdir" install
+ install -D -m644 "README" "$pkgdir/usr/share/licenses/lua-zlib/README"
}