summaryrefslogtreecommitdiff
path: root/community/lua-zlib
diff options
context:
space:
mode:
authorNicolas Reynolds <fauno@kiwwwi.com.ar>2011-08-16 11:12:15 -0300
committerNicolas Reynolds <fauno@kiwwwi.com.ar>2011-08-16 11:12:15 -0300
commitb73709861e566f564c8cf5cde4b40bd3d17982d9 (patch)
tree116cd554c488357d4e905feb7f41983a88771517 /community/lua-zlib
parentaf1b08b8cb081b88686b319a122aa5dbf096455f (diff)
parentea595018ba8ae00d7030ff296ec4f50e122d2ea9 (diff)
Merge branch 'master' of ssh://vparabola/home/parabola/abslibre-pre-mips64el
Conflicts: multilib/libtool-multilib/PKGBUILD
Diffstat (limited to 'community/lua-zlib')
-rw-r--r--community/lua-zlib/PKGBUILD22
1 files changed, 10 insertions, 12 deletions
diff --git a/community/lua-zlib/PKGBUILD b/community/lua-zlib/PKGBUILD
index 3bd622bac..971baccb9 100644
--- a/community/lua-zlib/PKGBUILD
+++ b/community/lua-zlib/PKGBUILD
@@ -1,9 +1,11 @@
-# $Id: PKGBUILD 23493 2010-08-11 18:21:33Z lcarlier $
+# $Id: PKGBUILD 54197 2011-08-14 19:29:58Z spupykin $
# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
pkgname=lua-zlib
-pkgver=0
-pkgrel=3
+pkgver=0.2
+pkgrel=1
+_gitver=8d07669
+_luaver=5.1
url="http://github.com/brimworks/lua-zlib"
pkgdesc='Simple streaming interface to zlib for Lua.'
arch=('i686' 'x86_64' 'mips64el')
@@ -11,22 +13,18 @@ license=('MIT')
depends=('lua' 'zlib')
makedepends=('cmake')
conflicts=('lua-lzlib')
-source=("lua-zlib-$pkgver.tar.gz::http://github.com/brimworks/lua-zlib/tarball/version-0")
-md5sums=('c404284a796e2f9143629bfdcb1ba200')
+source=("lua-zlib-$pkgver.zip::https://github.com/brimworks/lua-zlib/zipball/v$pkgver")
+md5sums=('d7ca7d12b6e50e3ec4c2057f65ca87d1')
build() {
- cd $srcdir/brimworks-lua-zlib-da0549e
-
- local _luaver=5.1
+ 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-da0549e
-
- make DESTDIR="$pkgdir" install || return 1
+ cd $srcdir/brimworks-lua-zlib-${_gitver}
+ make DESTDIR="$pkgdir" install
install -D -m644 "README" "$pkgdir/usr/share/licenses/lua-zlib/README"
}