[arch-commits] Commit in vamp-plugin-sdk/trunk (PKGBUILD)

David Runge dvzrv at archlinux.org
Tue Feb 20 16:31:58 UTC 2018


    Date: Tuesday, February 20, 2018 @ 16:31:57
  Author: dvzrv
Revision: 296474

upgpkg: vamp-plugin-sdk 2.7.1-1

Upgrading to 2.7.1. Switching to https for source.
Adding docs.

Modified:
  vamp-plugin-sdk/trunk/PKGBUILD

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

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2018-02-20 16:24:26 UTC (rev 296473)
+++ PKGBUILD	2018-02-20 16:31:57 UTC (rev 296474)
@@ -1,10 +1,11 @@
 # $Id$
+# Maintainer: David Runge <dave at sleepmap.de>
 # Maintainer: Ray Rashif <schiv at archlinux.org>
 # Contributor: Orivej Desh <smpuj at bk.ru>
 
 pkgname=vamp-plugin-sdk
-pkgver=2.6
-_dir=1520
+pkgver=2.7.1
+_dir=2206
 pkgrel=1
 pkgdesc="The Vamp audio analysis plug-in system"
 arch=('x86_64')
@@ -11,23 +12,24 @@
 url="http://www.vamp-plugins.org/"
 license=('BSD')
 depends=('gcc-libs' 'libsndfile')
-source=("http://code.soundsoftware.ac.uk/attachments/download/$_dir/$pkgname-$pkgver.tar.gz")
-md5sums=('200d6f5980d8d8877d296975a7e2890b')
+source=("https://code.soundsoftware.ac.uk/attachments/download/${_dir}/${pkgname}-${pkgver}.tar.gz")
+sha512sums=('91dd7cae72334718dcbdac06b1ffa3f3ba76e977b82b928ab634d9982aa15ca4e30978a7778215753c61e56831077d7634d24e65e468ab6a8a87a5957fb09bf3')
 
 build() {
-  cd "$srcdir/$pkgname-$pkgver"
-
+  cd "${pkgname}-${pkgver}"
   ./configure --prefix=/usr
   make
 }
 
 package() {
-  cd "$srcdir/$pkgname-$pkgver"
-
+  cd "${pkgname}-${pkgver}"
   make DESTDIR="$pkgdir" install
-
-  install -Dm644 COPYING \
-    "$pkgdir/usr/share/licenses/$pkgname/COPYING"
+  # license
+  install -vDm644 COPYING \
+    "${pkgdir}/usr/share/licenses/${pkgname}/COPYING"
+  # docs
+  install -t "${pkgdir}/usr/share/doc/${pkgname}" \
+    -vDm644 {CHANGELOG,README}
 }
 
 # vim:set ts=2 sw=2 et:



More information about the arch-commits mailing list