summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorA. Wilcox <AWilcox@Wilcox-Tech.com>2018-07-21 18:16:00 -0500
committerA. Wilcox <AWilcox@Wilcox-Tech.com>2018-07-21 18:16:00 -0500
commita2c6ca5c20e21b6121c4ab24ca6d7511a91f4ead (patch)
tree4f47a85d7b41389bf480d6e078d137bab4a72dbd
parentc58e0d8311d97fc2130e99f4b5a705392a7159de (diff)
downloadpackages-a2c6ca5c20e21b6121c4ab24ca6d7511a91f4ead.tar.gz
packages-a2c6ca5c20e21b6121c4ab24ca6d7511a91f4ead.tar.bz2
packages-a2c6ca5c20e21b6121c4ab24ca6d7511a91f4ead.tar.xz
packages-a2c6ca5c20e21b6121c4ab24ca6d7511a91f4ead.zip
system/lua5.3: I never want to touch lua again
-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
}