diff options
Diffstat (limited to 'community/lua-lzlib/PKGBUILD')
-rw-r--r-- | community/lua-lzlib/PKGBUILD | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/community/lua-lzlib/PKGBUILD b/community/lua-lzlib/PKGBUILD new file mode 100644 index 000000000..2d31c5c63 --- /dev/null +++ b/community/lua-lzlib/PKGBUILD @@ -0,0 +1,29 @@ +# Contributor: Anders Bergh <anders1@gmail.com> +# Maintainer: Daniel J Griffiths <ghost1227@archlinux.us> + +pkgname=lua-lzlib +pkgver=0.4_work2 +pkgrel=4 +pkgdesc="Lua interface to zlib" +arch=('i686' 'x86_64') +url="http://luaforge.net/projects/lzlib/" +license=('custom') +depends=(lua zlib) +# LuaForge urls have to be updated manually (the ID is different) +source=(http://luaforge.net/frs/download.php/3826/lzlib-0.4-work2.tar.gz + license.txt) +md5sums=('9d29ec26d3ccbd86ea4d95dcc602911a' + 'fc22ecccadddd8ad646aca9c5eb7d23a') +build() { + cd ${srcdir}/lzlib-${pkgver/_/-} + + make || return 1 +} + +package() { + cd ${srcdir}/lzlib-${pkgver/_/-} + + install -Dm644 ${srcdir}/license.txt ${pkgdir}/usr/share/licenses/${pkgname}/LICENSE || return 1 + install -Dm755 zlib.so ${pkgdir}/usr/lib/lua/5.1/zlib.so || return 1 + install -Dm644 gzip.lua ${pkgdir}/usr/share/lua/5.1/gzip.lua || return 1 +} |