aboutsummaryrefslogtreecommitdiffstats
path: root/main/lua-penlight
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2010-10-27 09:28:37 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2010-10-27 09:28:37 +0000
commitd59c2cf53b0dd3cb9556eb286da17250e7b1976b (patch)
treec089832ad875150f440e7046b053b2282e209a7f /main/lua-penlight
parent0f33e9b930892e4647b50b9a9ba8678999acd800 (diff)
downloadaports-d59c2cf53b0dd3cb9556eb286da17250e7b1976b.tar.bz2
aports-d59c2cf53b0dd3cb9556eb286da17250e7b1976b.tar.xz
main/lua-penlight: moved from testing
Diffstat (limited to 'main/lua-penlight')
-rw-r--r--main/lua-penlight/APKBUILD29
1 files changed, 29 insertions, 0 deletions
diff --git a/main/lua-penlight/APKBUILD b/main/lua-penlight/APKBUILD
new file mode 100644
index 0000000000..48895c2b0b
--- /dev/null
+++ b/main/lua-penlight/APKBUILD
@@ -0,0 +1,29 @@
+# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
+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"
+
+_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"