summaryrefslogtreecommitdiffstats
path: root/testing
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2010-02-24 14:30:34 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2010-02-24 14:30:34 +0000
commiteea9ba2e261f7c841f297b06692bf0610b95ab75 (patch)
treecad5657147bc5d472879ab54c9d84409f0ff94ef /testing
parent7f1321f84ac018ae5cbd1d228f7597ff31a2df77 (diff)
downloadaports-eea9ba2e261f7c841f297b06692bf0610b95ab75.tar.bz2
aports-eea9ba2e261f7c841f297b06692bf0610b95ab75.tar.xz
testing/lua-penlight: new aport
Lua libraries for extended operations on tables, lists and strings http://penlight.luaforge.net/
Diffstat (limited to 'testing')
-rw-r--r--testing/lua-penlight/APKBUILD34
1 files changed, 34 insertions, 0 deletions
diff --git a/testing/lua-penlight/APKBUILD b/testing/lua-penlight/APKBUILD
new file mode 100644
index 000000000..56980fb3b
--- /dev/null
+++ b/testing/lua-penlight/APKBUILD
@@ -0,0 +1,34 @@
+# Contributor:
+# Maintainer:
+pkgname=lua-penlight
+pkgver=0.7.2
+pkgrel=0
+pkgdesc="Lua libraries for extended operations on tables, lists and strings"
+url="http://penlight.luaforge.net/"
+license="GPL"
+depends="lua-filesystem"
+makedepends=
+install=
+subpackages="$pkgname-doc"
+source="http://luaforge.net/frs/download.php/4091/pl.0.7.2.zip"
+
+# append extra dependencies to -dev subpackage
+# remove if not used.
+# depends_dev="somepackage-dev"
+
+_builddir="$srcdir"
+
+build() {
+ return 0
+}
+
+package() {
+ cd "$_builddir"
+ mkdir -p "$pkgdir"/usr/share/lua/5.1/ \
+ "$pkgdir"/usr/share/doc/$pkgname
+ cp -r lua/pl "$pkgdir"/usr/share/lua/5.1/
+ cp -r docs/* "$pkgdir"/usr/share/doc/$pkgname/
+ cp -r examples/penlight "$pkgdir"/usr/share/doc/$pkgname/examples
+}
+
+md5sums="ef4eec0cb87ebf81886da0f2a4663d59 pl.0.7.2.zip"