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

David Runge dvzrv at archlinux.org
Fri Jul 26 22:01:54 UTC 2019


    Date: Friday, July 26, 2019 @ 22:01:53
  Author: dvzrv
Revision: 492976

upgpkg: libgig 4.2.0-1

Upgrading to 4.2.0. Switching to correct license (GPL2). Adding provides for libgig.so, so it can be tracked.
Adding autoreconf to prepare(). Installing docs. Removing ld.so.conf.d entry (this should not be required with pkg-config).

Modified:
  libgig/trunk/PKGBUILD

----------+
 PKGBUILD |   24 +++++++++++++-----------
 1 file changed, 13 insertions(+), 11 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2019-07-26 21:16:13 UTC (rev 492975)
+++ PKGBUILD	2019-07-26 22:01:53 UTC (rev 492976)
@@ -1,22 +1,27 @@
 # Maintainer: David Runge <dave at sleepmap.de>
-# Maintainer: Ray Rashif <schiv at archlinux.org>
+# Contributor: Ray Rashif <schiv at archlinux.org>
 # Contributor: svoufff <svoufff at gmail dot com>
 # Contributor: Shinlun Hsieh <yngwiexx at yahoo.com.tw>
 
 pkgname=libgig
-pkgver=4.1.0
+pkgver=4.2.0
 pkgrel=1
-pkgdesc="C++ library for loading Gigasampler and DLS files"
+pkgdesc="C++ library for loading, modifying and creating .gig, .ksf, .kmp, .sf2 and DLS files"
 arch=('x86_64')
 url="https://www.linuxsampler.org/libgig/"
-license=('GPL')
+license=('GPL2')
 depends=('util-linux' 'libsndfile')
+provides=('libgig.so')
 source=("https://download.linuxsampler.org/packages/${pkgname}-${pkgver}.tar.bz2")
-sha512sums=('e88500f5d60d597b383093f904a2356aba7505a3a22b4852fe3fbbe71723fddbfc81029a82edf3c18e46ade519343cdbe87c06c652f982ffd4cfb4c35d5a9a0a')
+sha512sums=('52c8c749c7852e229c76c17211398dbf5dd5891a1ee9d8e8bc61d55b825c5676595b20b26014e739b9bfd387db36895152b380519609a928a8fa68f4a20279f6')
 
+prepare() {
+  cd "${pkgname}-${pkgver}"
+  autoreconf -vfi
+}
+
 build() {
   cd "${pkgname}-${pkgver}"
-
   ./configure --prefix=/usr
   make
 }
@@ -23,12 +28,9 @@
 
 package() {
   cd "${pkgname}-${pkgver}"
-
   make DESTDIR="${pkgdir}" install
-
-  # add libgig library path to ld.so.conf.d (thanks to libgig-svn for the heads-up)
-  install -d "${pkgdir}/etc/ld.so.conf.d"
-  echo "/usr/lib/${pkgname}" > "${pkgdir}/etc/ld.so.conf.d/${pkgname}.conf"
+  install -vDm 644 {AUTHORS,ChangeLog,NEWS,README,TODO} \
+    -t "${pkgdir}/usr/share/doc/${pkgname}"
 }
 
 # vim:set ts=2 sw=2 et:


More information about the arch-commits mailing list