summaryrefslogtreecommitdiffstats
path: root/main/lua/APKBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'main/lua/APKBUILD')
-rw-r--r--main/lua/APKBUILD12
1 files changed, 10 insertions, 2 deletions
diff --git a/main/lua/APKBUILD b/main/lua/APKBUILD
index 3b1f4643e..a241434f8 100644
--- a/main/lua/APKBUILD
+++ b/main/lua/APKBUILD
@@ -2,14 +2,14 @@
pkgname=lua
pkgver=5.1.5
_ver=$pkgver
-pkgrel=0
+pkgrel=1
pkgdesc="A powerful light-weight programming language designed for extending applications."
url="http://www.lua.org/"
arch="all"
license="MIT"
depends=
makedepends="libtool"
-subpackages="$pkgname-dev $pkgname-doc"
+subpackages="$pkgname-dev $pkgname-doc $pkgname-libs"
source="http://www.$pkgname.org/ftp/$pkgname-$_ver.tar.gz
lua-5.1-make.patch
lua-5.1-module_paths.patch
@@ -53,6 +53,14 @@ package() {
install -D -m 644 doc/lua.1 "$pkgdir"/usr/share/man/man1/lua.1
install -D -m 644 doc/luac.1 "$pkgdir"/usr/share/man/man1/luac.1
}
+
+libs() {
+ pkgdesc="Lua dynamic library runtime"
+ replaces="lua"
+ mkdir -p "$subpkgdir"/usr
+ mv "$pkgdir"/usr/lib "$subpkgdir"/usr/
+}
+
md5sums="2e115fe26e435e33b0d5c022e4490567 lua-5.1.5.tar.gz
0145ff6036eb6bfdab427dc8f0c3f3c0 lua-5.1-make.patch
e60ef15deefb72a5930c498f1184aced lua-5.1-module_paths.patch