summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorraingloom2017-05-02 20:42:23 +0200
committerraingloom2017-05-02 20:42:23 +0200
commit0b7a3a156940bb57c945d6232bfd575fd7d61ff5 (patch)
tree9aa6df830ab0b6916593468113ba5e46ebcd01ca
parent71bb1e6f8a8d80d013243cbfe1382a93faccee42 (diff)
downloadaur-0b7a3a156940bb57c945d6232bfd575fd7d61ff5.tar.gz
fixed exe name, sorry
-rw-r--r--PKGBUILD9
1 files changed, 6 insertions, 3 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 2b2d6316e99..81de0b319fd 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -40,15 +40,18 @@ build() {
package() {
cd "$pkgname-$pkgver-lua5.3"
-
+
make \
TO_LIB="liblua.a liblua.so liblua.so.$_majorver liblua.so.$_luaver" \
INSTALL_DATA='cp -d' \
INSTALL_TOP="$pkgdir"/usr \
INSTALL_MAN="$pkgdir"/usr/share/man/man1 \
install
- ln -sf /usr/bin/lua "$pkgdir"/usr/bin/lua$_majorver
- ln -sf /usr/bin/luac "$pkgdir"/usr/bin/luac$_majorver
+ mv "$pkgdir"/usr/bin/lua "$pkgdir"/usr/bin/eris
+ mv "$pkgdir"/usr/bin/luac "$pkgdir"/usr/bin/erisc
+
+ ln -sf /usr/bin/$pkgname "$pkgdir"/usr/bin/$pkgname$_majorver
+ ln -sf /usr/bin/"$pkgname"c "$pkgdir"/usr/bin/"$pkgname"c$_majorver
install -Dm644 lua.pc "$pkgdir"/usr/lib/pkgconfig/${pkgname}53.pc
ln -sf /usr/lib/pkgconfig/${pkgname}53.pc "$pkgdir"/usr/lib/pkgconfig/$pkgname.pc