aboutsummaryrefslogtreecommitdiffstats
path: root/testing/lua-stdlib/APKBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'testing/lua-stdlib/APKBUILD')
-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"