From a2c6ca5c20e21b6121c4ab24ca6d7511a91f4ead Mon Sep 17 00:00:00 2001 From: "A. Wilcox" Date: Sat, 21 Jul 2018 18:16:00 -0500 Subject: system/lua5.3: I never want to touch lua again --- system/lua5.3/APKBUILD | 12 ++++-------- 1 file 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 } -- cgit v1.2.3-70-g09d2