summaryrefslogtreecommitdiff
path: root/system/lua5.3
diff options
context:
space:
mode:
Diffstat (limited to 'system/lua5.3')
-rw-r--r--system/lua5.3/APKBUILD12
1 files changed, 4 insertions, 8 deletions
diff --git a/system/lua5.3/APKBUILD b/system/lua5.3/APKBUILD
index 34d640721..c09f2f7a5 100644
--- a/system/lua5.3/APKBUILD
+++ b/system/lua5.3/APKBUILD
@@ -70,19 +70,15 @@ package() {
INSTALL_LIB="$pkgdir"/usr/lib/$pkgname \
alpine_install
- for i in "$pkgdir"/usr/bin/* ; do
- mv "$i" "$i"$_luaver
- done
-
for i in "$pkgdir"/usr/lib/$pkgname/*.so.*; do
ln -s $pkgname/${i##*/} "$pkgdir"/usr/lib/${i##*/}
done
- install -D -m 644 doc/lua.1 "$pkgdir"/usr/share/man/man1/lua$_luaver.1
- install -D -m 644 doc/luac.1 "$pkgdir"/usr/share/man/man1/luac$_luaver.1
+ 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
install -d "$pkgdir"/usr/lib/pkgconfig
- cat > "$pkgdir"/usr/lib/pkgconfig/lua$_luaver.pc <<-EOF
+ cat > "$pkgdir"/usr/lib/pkgconfig/lua.pc <<-EOF
# lua.pc -- pkg-config data for Lua
# vars from install Makefile
@@ -113,7 +109,7 @@ package() {
Libs: -L\${libdir} -llua -lm
Cflags: -I\${includedir}
- # (end of lua$_luaver.pc)
+ # (end of lua.pc)
EOF
}