aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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() {