Skip to content
Snippets Groups Projects
Commit c8c44dfd authored by alice's avatar alice
Browse files

main/lua5.1: add a compatibility name so it's easier to find lua

parent 17c89eb9
No related branches found
No related tags found
No related merge requests found
...@@ -3,7 +3,7 @@ pkgname=lua5.1 ...@@ -3,7 +3,7 @@ pkgname=lua5.1
_pkgname=lua _pkgname=lua
pkgver=5.1.5 pkgver=5.1.5
_luaver=${pkgname#lua} _luaver=${pkgname#lua}
pkgrel=12 pkgrel=13
pkgdesc="A powerful light-weight programming language designed for extending applications." pkgdesc="A powerful light-weight programming language designed for extending applications."
url="https://www.lua.org/" url="https://www.lua.org/"
arch="all" arch="all"
...@@ -85,6 +85,10 @@ package() { ...@@ -85,6 +85,10 @@ package() {
ln -s lua$_luaver.pc "$pkgdir"/usr/lib/pkgconfig/lua.pc ln -s lua$_luaver.pc "$pkgdir"/usr/lib/pkgconfig/lua.pc
ln -s lua$_luaver.1 "$pkgdir"/usr/share/man/man1/lua.1 ln -s lua$_luaver.1 "$pkgdir"/usr/share/man/man1/lua.1
ln -s luac$_luaver.1 "$pkgdir"/usr/share/man/man1/luac.1 ln -s luac$_luaver.1 "$pkgdir"/usr/share/man/man1/luac.1
# compat names since we are unique
# other distros name it lua-5.1 or lua51. pick the former as a compat name..
ln -sv lua5.1.pc "$pkgdir"/usr/lib/pkgconfig/lua-5.1.pc
} }
dev() { dev() {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment