diff options
Diffstat (limited to 'system/lua5.3/APKBUILD')
-rw-r--r-- | system/lua5.3/APKBUILD | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/system/lua5.3/APKBUILD b/system/lua5.3/APKBUILD index 859a7a05b..11e7b4e06 100644 --- a/system/lua5.3/APKBUILD +++ b/system/lua5.3/APKBUILD @@ -69,7 +69,7 @@ package() { INSTALL_LIB="$pkgdir"/usr/lib/$pkgname \ alpine_install - for $_solib in "$pkgdir"/usr/lib/$pkgname/*.so.*; do + for _solib in "$pkgdir"/usr/lib/$pkgname/*.so.*; do ln -s $pkgname/${_solib##*/} "$pkgdir"/usr/lib/${_solib##*/} done @@ -116,9 +116,7 @@ package() { dev() { default_dev - mkdir -p "$subpkgdir"/usr/$pkgname "$subpkgdir"/usr/lib/$pkgname - ln -s ../include/$pkgname "$subpkgdir"/usr/$pkgname/include - ln -s ../lib/$pkgname "$subpkgdir"/usr/$pkgname/lib + mkdir -p "$subpkgdir"/usr/lib/$pkgname mv "$pkgdir"/usr/lib/$pkgname/liblua.so "$subpkgdir"/usr/lib/$pkgname/ } |