summaryrefslogtreecommitdiff
path: root/community/lua-lzlib
diff options
context:
space:
mode:
authorParabola <dev@list.parabolagnulinux.org>2011-04-05 14:26:38 +0000
committerParabola <dev@list.parabolagnulinux.org>2011-04-05 14:26:38 +0000
commit415856bdd4f48ab4f2732996f0bae58595092bbe (patch)
treeede2018b591f6dfb477fe9341ba17b9bc000fab9 /community/lua-lzlib
Tue Apr 5 14:26:38 UTC 2011
Diffstat (limited to 'community/lua-lzlib')
-rw-r--r--community/lua-lzlib/PKGBUILD29
-rw-r--r--community/lua-lzlib/license.txt24
2 files changed, 53 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
+}
diff --git a/community/lua-lzlib/license.txt b/community/lua-lzlib/license.txt
new file mode 100644
index 000000000..389456d0a
--- /dev/null
+++ b/community/lua-lzlib/license.txt
@@ -0,0 +1,24 @@
+*************************************************************************
+* Author : Tiago Dionizio <tiago.dionizio@gmail.com> *
+* Library : lzlib - Lua 5.1 interface to access zlib library functions*
+* *
+* Permission is hereby granted, free of charge, to any person obtaining *
+* a copy of this software and associated documentation files (the *
+* "Software"), to deal in the Software without restriction, including *
+* without limitation the rights to use, copy, modify, merge, publish, *
+* distribute, sublicense, and/or sell copies of the Software, and to *
+* permit persons to whom the Software is furnished to do so, subject to *
+* the following conditions: *
+* *
+* The above copyright notice and this permission notice shall be *
+* included in all copies or substantial portions of the Software. *
+* *
+* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, *
+* EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF *
+* MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.*
+* IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY *
+* CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, *
+* TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE *
+* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. *
+*************************************************************************
+