diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2013-06-20 09:59:12 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2013-06-20 11:15:59 +0000 |
commit | 63a32f9d599406f3e1953224a12f973ce4cbff56 (patch) | |
tree | 9323a634198c4b5e02c35bf7b40b100f329361a8 /main | |
parent | a5bf877d119a1c93155dc92f622c476478d267bb (diff) | |
download | aports-63a32f9d599406f3e1953224a12f973ce4cbff56.tar.bz2 aports-63a32f9d599406f3e1953224a12f973ce4cbff56.tar.xz |
main/lua: split out -libs subpackage
Diffstat (limited to 'main')
-rw-r--r-- | main/lua/APKBUILD | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/main/lua/APKBUILD b/main/lua/APKBUILD index 3b1f4643eb..a241434f8c 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 |