summaryrefslogtreecommitdiffstats
path: root/testing/lua5.2-penlight
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2013-06-25 08:51:16 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2013-06-25 08:51:16 +0000
commit0a189d8bbe8e81f09e179ec8be1bff111eeb8684 (patch)
treeddb22d6e4430cab2ae35cb1202329eaafd051c9c /testing/lua5.2-penlight
parent322c0e1d03485d730ae3fb1e98eb94a3ed6d7739 (diff)
downloadaports-0a189d8bbe8e81f09e179ec8be1bff111eeb8684.tar.bz2
aports-0a189d8bbe8e81f09e179ec8be1bff111eeb8684.tar.xz
testing/lua5.2-penlight: new aport
Lua libraries for extended operations on tables, lists and strings https://github.com/stevedonovan/Penlight
Diffstat (limited to 'testing/lua5.2-penlight')
-rw-r--r--testing/lua5.2-penlight/APKBUILD33
1 files changed, 33 insertions, 0 deletions
diff --git a/testing/lua5.2-penlight/APKBUILD b/testing/lua5.2-penlight/APKBUILD
new file mode 100644
index 000000000..f591b2bee
--- /dev/null
+++ b/testing/lua5.2-penlight/APKBUILD
@@ -0,0 +1,33 @@
+# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
+_luaver=5.2
+pkgname=lua${_luaver}-penlight
+pkgver=1.2.0
+pkgrel=0
+pkgdesc="Lua libraries for extended operations on tables, lists and strings"
+url="https://github.com/stevedonovan/Penlight"
+arch="noarch"
+license="GPL"
+depends="lua${_luaver}-filesystem"
+makedepends="wget"
+install=
+subpackages="$pkgname-doc"
+source="penlight-$pkgver.tar.gz::https://github.com/stevedonovan/Penlight/archive/$pkgver.tar.gz"
+
+_builddir="$srcdir"/Penlight-$pkgver
+
+build() {
+ return 0
+}
+
+package() {
+ cd "$_builddir"
+ mkdir -p "$pkgdir"/usr/share/lua/$_luaver/ \
+ "$pkgdir"/usr/share/doc/$pkgname
+ cp -r lua/pl "$pkgdir"/usr/share/lua/$_luaver/ || return 1
+ cp -r doc/* "$pkgdir"/usr/share/doc/$pkgname/ || return 1
+ cp -r examples "$pkgdir"/usr/share/doc/$pkgname/ || return 1
+}
+
+md5sums="fa213fa3aa3e2c920af8c4b28bdf2a1e penlight-1.2.0.tar.gz"
+sha256sums="e0e7cec321f481f39472e8d63b258327d7ebae19c3e39e5956dcc821aa3b29c0 penlight-1.2.0.tar.gz"
+sha512sums="a5081169fb9237b84c98c892f82dbd24d186b2ce85cf9bd650fdc924a26403c1087dd8bae5ff2bfd1d99c4b146bc41d2914f36f7ceb85fa82f882fb76168e3e2 penlight-1.2.0.tar.gz"