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

David Runge dvzrv at archlinux.org
Tue Dec 19 18:03:13 UTC 2017


    Date: Tuesday, December 19, 2017 @ 18:03:12
  Author: dvzrv
Revision: 274900

upgpkg: libgig 4.1.0-1

Upgrading to 4.1.0. Switching to https for url and source.
Switching to sha512sums. Minor fixes.

Modified:
  libgig/trunk/PKGBUILD

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

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2017-12-19 17:18:36 UTC (rev 274899)
+++ PKGBUILD	2017-12-19 18:03:12 UTC (rev 274900)
@@ -1,22 +1,22 @@
 # $Id$
+# Maintainer: David Runge <dave at sleepmap.de>
 # Maintainer: 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.0.0
-pkgrel=2
+pkgver=4.1.0
+pkgrel=1
 pkgdesc="C++ library for loading Gigasampler and DLS files"
 arch=('x86_64')
-url="http://www.linuxsampler.org/libgig/"
+url="https://www.linuxsampler.org/libgig/"
 license=('GPL')
 depends=('util-linux' 'libsndfile')
-#options=('!makeflags') # code chokes on parallel build
-source=("http://download.linuxsampler.org/packages/$pkgname-$pkgver.tar.bz2")
-md5sums=('b194239f5a64822d700fd7e9bc55db69')
+source=("https://download.linuxsampler.org/packages/${pkgname}-${pkgver}.tar.bz2")
+sha512sums=('e88500f5d60d597b383093f904a2356aba7505a3a22b4852fe3fbbe71723fddbfc81029a82edf3c18e46ade519343cdbe87c06c652f982ffd4cfb4c35d5a9a0a')
 
 build() {
-  cd "$srcdir/$pkgname-$pkgver"
+  cd "${pkgname}-${pkgver}"
 
   ./configure --prefix=/usr
   make
@@ -23,13 +23,13 @@
 }
 
 package() {
-  cd "$srcdir/$pkgname-$pkgver"
+  cd "${pkgname}-${pkgver}"
 
-  make DESTDIR="$pkgdir" install
+  make DESTDIR="${pkgdir}" install
 
   # add libgig library path to ld.so.conf.d (thanks to libgig-svn for the heads-up)
-  install -m0755 -d "$pkgdir/etc/ld.so.conf.d"
-  echo "/usr/lib/$pkgname" > "$pkgdir/etc/ld.so.conf.d/$pkgname.conf"
+  install -d "${pkgdir}/etc/ld.so.conf.d"
+  echo "/usr/lib/${pkgname}" > "${pkgdir}/etc/ld.so.conf.d/${pkgname}.conf"
 }
 
 # vim:set ts=2 sw=2 et:



More information about the arch-commits mailing list