aboutsummaryrefslogtreecommitdiffstats
path: root/testing
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2010-02-23 13:33:09 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2010-02-23 13:33:09 +0000
commit3102ba4a948dfeb135b1497df2c70fe94a5460bd (patch)
treecd57816831b419340f070d968e0ab1feb8fcdf62 /testing
parent913500f30a95275dd79ea2c27000b04a666a5db5 (diff)
downloadaports-3102ba4a948dfeb135b1497df2c70fe94a5460bd.tar.bz2
aports-3102ba4a948dfeb135b1497df2c70fe94a5460bd.tar.xz
testing/lua-stdlib: new aport
Lua library of modules for common programming tasks http://luaforge.net/projects/stdlib/
Diffstat (limited to 'testing')
-rw-r--r--testing/lua-stdlib/APKBUILD28
1 files changed, 28 insertions, 0 deletions
diff --git a/testing/lua-stdlib/APKBUILD b/testing/lua-stdlib/APKBUILD
new file mode 100644
index 0000000000..e0f459d867
--- /dev/null
+++ b/testing/lua-stdlib/APKBUILD
@@ -0,0 +1,28 @@
+# Maintainer: Natnae
+pkgname=lua-stdlib
+pkgver=12
+pkgrel=0
+pkgdesc="Lua library of modules for common programming tasks"
+url="http://luaforge.net/projects/stdlib/"
+license="MIT/X"
+depends=
+makedepends=
+install=
+subpackages="$pkgname-doc"
+source="http://luaforge.net/frs/download.php/4232/stdlib-12.tar.gz"
+
+_builddir="$srcdir"/stdlib
+_luashare=/usr/share/lua/5.1
+build() {
+ cd "$_builddir"
+}
+
+package() {
+ cd "$_builddir"
+ install -d "$pkgdir"/$_luashare
+ install -m644 modules/*.lua "$pkgdir"/$_luashare/
+ mkdir -p "$pkgdir"/usr/share/doc/$pkgname
+ install -m644 modules/*.html "$pkgdir"/usr/share/doc/$pkgname/
+}
+
+md5sums="34b07fde9931279d265f23492a22483b stdlib-12.tar.gz"