diff options
Diffstat (limited to 'main/lua-stdlib/APKBUILD')
-rw-r--r-- | main/lua-stdlib/APKBUILD | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/main/lua-stdlib/APKBUILD b/main/lua-stdlib/APKBUILD new file mode 100644 index 0000000000..685b1d1c92 --- /dev/null +++ b/main/lua-stdlib/APKBUILD @@ -0,0 +1,29 @@ +# Maintainer: Natnae +pkgname=lua-stdlib +pkgver=13 +pkgrel=1 +pkgdesc="Lua library of modules for common programming tasks" +url="http://luaforge.net/projects/stdlib/" +arch="noarch" +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" |