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

David Runge dvzrv at archlinux.org
Mon Jul 29 09:51:35 UTC 2019


    Date: Monday, July 29, 2019 @ 09:51:34
  Author: dvzrv
Revision: 494536

upgpkg: libgig 4.2.0-2

Adding back ld.so.conf entry, as it is required for libgig dependants during runtime.

Modified:
  libgig/trunk/PKGBUILD

----------+
 PKGBUILD |    8 ++++++--
 1 file changed, 6 insertions(+), 2 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2019-07-29 09:49:13 UTC (rev 494535)
+++ PKGBUILD	2019-07-29 09:51:34 UTC (rev 494536)
@@ -5,7 +5,7 @@
 
 pkgname=libgig
 pkgver=4.2.0
-pkgrel=1
+pkgrel=2
 pkgdesc="C++ library for loading, modifying and creating .gig, .ksf, .kmp, .sf2 and DLS files"
 arch=('x86_64')
 url="https://www.linuxsampler.org/libgig/"
@@ -18,6 +18,8 @@
 prepare() {
   cd "${pkgname}-${pkgver}"
   autoreconf -vfi
+  # creating a ld.so.conf entry for libgig.so
+  echo "/usr/lib/${pkgname}" > "${pkgname}.conf"
 }
 
 build() {
@@ -31,6 +33,8 @@
   make DESTDIR="${pkgdir}" install
   install -vDm 644 {AUTHORS,ChangeLog,NEWS,README,TODO} \
     -t "${pkgdir}/usr/share/doc/${pkgname}"
+  # adding libgig.so library path to ld.so.conf (required for dependants during
+  # runtime)
+  install -vDm 644 "${pkgname}.conf" -t "${pkgdir}/etc/ld.so.conf.d/"
 }
-
 # vim:set ts=2 sw=2 et:


More information about the arch-commits mailing list