aboutsummaryrefslogtreecommitdiffstats
path: root/main/lua5.2
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2015-06-04 13:29:37 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2015-06-05 13:56:20 +0000
commit110726600275a98c8bc9193acf45fc1b1ef4f3fd (patch)
tree25bfc35fa17836579d17a1ffcf1a77f70ba2df62 /main/lua5.2
parentf7d3fe9b8f5b213ddefb88ec43f7c65f7c74dc28 (diff)
downloadaports-110726600275a98c8bc9193acf45fc1b1ef4f3fd.tar.bz2
aports-110726600275a98c8bc9193acf45fc1b1ef4f3fd.tar.xz
main/lua5.2: move liblua.so symlink to -dev
Diffstat (limited to 'main/lua5.2')
-rw-r--r--main/lua5.2/APKBUILD6
1 files changed, 4 insertions, 2 deletions
diff --git a/main/lua5.2/APKBUILD b/main/lua5.2/APKBUILD
index 6d51679bbc..80da83aa39 100644
--- a/main/lua5.2/APKBUILD
+++ b/main/lua5.2/APKBUILD
@@ -2,7 +2,7 @@
pkgname=lua5.2
pkgver=5.2.4
_luaver=${pkgname#lua}
-pkgrel=0
+pkgrel=1
pkgdesc="Powerful light-weight programming language"
url="http://www.lua.org/"
arch="all"
@@ -119,9 +119,11 @@ EOF
dev() {
default_dev
- mkdir -p "$subpkgdir"/usr/$pkgname
+ mkdir -p "$subpkgdir"/usr/$pkgname "$subpkgdir"/usr/lib/$pkgname
ln -s ../include/$pkgname "$subpkgdir"/usr/$pkgname/include || return 1
ln -s ../lib/$pkgname "$subpkgdir"/usr/$pkgname/lib || return 1
+ mv "$pkgdir"/usr/lib/$pkgname/liblua.so "$subpkgdir"/usr/lib/$pkgname/ \
+ || return 1
}
libs() {