[arch-commits] Commit in lua51/trunk (PKGBUILD)

Anatol Pomozov anatolik at archlinux.org
Thu Feb 20 01:02:17 UTC 2020


    Date: Thursday, February 20, 2020 @ 01:02:16
  Author: anatolik
Revision: 375899

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:
  lua51/trunk/PKGBUILD

----------+
 PKGBUILD |    7 +++++--
 1 file changed, 5 insertions(+), 2 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2020-02-20 00:58:55 UTC (rev 375898)
+++ PKGBUILD	2020-02-20 01:02:16 UTC (rev 375899)
@@ -4,7 +4,7 @@
 
 pkgname=lua51
 pkgver=5.1.5
-pkgrel=8
+pkgrel=9
 pkgdesc='Powerful lightweight programming language designed for extending applications'
 arch=('x86_64')
 url='https://www.lua.org/'
@@ -46,7 +46,10 @@
     INSTALL_MAN="$pkgdir"/usr/share/man/man1 \
     install
 
-  install -Dm644 etc/lua.pc "$pkgdir"/usr/lib/pkgconfig/$pkgname.pc
+  install -Dm644 etc/lua.pc "$pkgdir"/usr/lib/pkgconfig/lua51.pc
+  ln -sf lua51.pc "$pkgdir"/usr/lib/pkgconfig/lua5.1.pc
+  ln -sf lua51.pc "$pkgdir"/usr/lib/pkgconfig/lua-5.1.pc
+
   install -d "$pkgdir"/usr/share/doc/$pkgname
   install -m644 doc/*.{gif,png,css,html} "$pkgdir"/usr/share/doc/$pkgname
   install -Dm644 COPYRIGHT "$pkgdir"/usr/share/licenses/$pkgname/COPYRIGHT



More information about the arch-commits mailing list