[arch-commits] Commit in lua/trunk (PKGBUILD)
Anatol Pomozov
anatolik at archlinux.org
Thu Feb 20 00:51:44 UTC 2020
Date: Thursday, February 20, 2020 @ 00:51:42
Author: anatolik
Revision: 375895
FS#65549 add *.pc file aliases to be compatible with other distros
Lua upstream does not provide *.pc files unfortunately and there is variety of
*.pc file names. Add some aliases to make the package compatible with other distros.
Modified:
lua/trunk/PKGBUILD
----------+
PKGBUILD | 6 ++++--
1 file changed, 4 insertions(+), 2 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2020-02-19 20:31:07 UTC (rev 375894)
+++ PKGBUILD 2020-02-20 00:51:42 UTC (rev 375895)
@@ -5,7 +5,7 @@
pkgname=lua
pkgver=5.3.5
_majorver=${pkgver%.*}
-pkgrel=2
+pkgrel=3
pkgdesc='Powerful lightweight programming language designed for extending applications'
arch=('x86_64')
url='https://www.lua.org/'
@@ -52,7 +52,9 @@
ln -sf /usr/lib/liblua.so.$pkgver "$pkgdir"/usr/lib/liblua$_majorver.so
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
+ ln -sf ${pkgname}53.pc "$pkgdir"/usr/lib/pkgconfig/${pkgname}.pc
+ ln -sf ${pkgname}53.pc "$pkgdir"/usr/lib/pkgconfig/${pkgname}5.3.pc
+ ln -sf ${pkgname}53.pc "$pkgdir"/usr/lib/pkgconfig/${pkgname}-5.3.pc
install -d "$pkgdir"/usr/share/doc/$pkgname
install -m644 doc/*.{gif,png,css,html} "$pkgdir"/usr/share/doc/$pkgname
More information about the arch-commits
mailing list