Date: Thursday, February 20, 2020 @ 00:58:27 Author: anatolik Revision: 375897
FS#65549 add *.pc file aliases to be compatible with other distros Lua upstream does not provide *.pc files unfortunately and there is a variety of *.pc file names. Add some aliases to make the package compatible with other distros. Modified: lua52/trunk/PKGBUILD ----------+ PKGBUILD | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) Modified: PKGBUILD =================================================================== --- PKGBUILD 2020-02-20 00:52:20 UTC (rev 375896) +++ PKGBUILD 2020-02-20 00:58:27 UTC (rev 375897) @@ -4,7 +4,7 @@ pkgname=lua52 pkgver=5.2.4 -pkgrel=4 +pkgrel=5 pkgdesc='Powerful lightweight programming language designed for extending applications' arch=('x86_64') url='https://www.lua.org/' @@ -47,7 +47,9 @@ INSTALL_MAN="$pkgdir"/usr/share/man/man1 \ install - install -Dm644 lua.pc "$pkgdir"/usr/lib/pkgconfig/$pkgname.pc + install -Dm644 lua.pc "$pkgdir"/usr/lib/pkgconfig/lua52.pc + ln -sf lua52.pc "$pkgdir"/usr/lib/pkgconfig/lua5.2.pc + ln -sf lua52.pc "$pkgdir"/usr/lib/pkgconfig/lua-5.2.pc install -d "$pkgdir"/usr/share/doc/$pkgname install -m644 doc/*.{gif,png,css,html} "$pkgdir"/usr/share/doc/$pkgname