aboutsummaryrefslogtreecommitdiffstats
path: root/main/lua-stdlib/APKBUILD
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2010-06-04 21:36:20 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2010-06-04 21:36:20 +0000
commit4ea8e8dad5a1f33af3b810ec6c2dbec9eab2bb92 (patch)
treef06b8fdd3ff35546936b42d5444d63c38fd38eed /main/lua-stdlib/APKBUILD
parent896b6b9e585e1d182539a8e50ff8888cae296874 (diff)
downloadaports-4ea8e8dad5a1f33af3b810ec6c2dbec9eab2bb92.tar.bz2
aports-4ea8e8dad5a1f33af3b810ec6c2dbec9eab2bb92.tar.xz
main/lua-stdlib: moved form testing
Diffstat (limited to 'main/lua-stdlib/APKBUILD')
-rw-r--r--main/lua-stdlib/APKBUILD28
1 files changed, 28 insertions, 0 deletions
diff --git a/main/lua-stdlib/APKBUILD b/main/lua-stdlib/APKBUILD
new file mode 100644
index 0000000000..9d9f5a0214
--- /dev/null
+++ b/main/lua-stdlib/APKBUILD
@@ -0,0 +1,28 @@
+# Maintainer: Natnae
+pkgname=lua-stdlib
+pkgver=13
+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/4581/stdlib-13.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="592cbfb622a0a9a7d8c6d7ca6657bc05 stdlib-13.tar.gz"