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

Maxime Gauduin alucryd at archlinux.org
Fri Oct 16 06:53:27 UTC 2020


    Date: Friday, October 16, 2020 @ 06:53:26
  Author: alucryd
Revision: 398428

upgpkg: soundtouch 2.2-1

Modified:
  soundtouch/trunk/PKGBUILD

----------+
 PKGBUILD |   20 ++++++++++++++------
 1 file changed, 14 insertions(+), 6 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2020-10-16 06:43:30 UTC (rev 398427)
+++ PKGBUILD	2020-10-16 06:53:26 UTC (rev 398428)
@@ -2,16 +2,24 @@
 # Contributor: Eric Bélanger <eric at archlinux.org>
 
 pkgname=soundtouch
-pkgver=2.1.2
-pkgrel=2
+pkgver=2.2
+pkgrel=1
 pkgdesc='An audio processing library'
 arch=(x86_64)
-url='https://www.surina.net/soundtouch/'
+url=https://www.surina.net/soundtouch/
 license=(LGPL)
+depends=(gcc-libs)
 makedepends=(git)
-source=(git+https://gitlab.com/soundtouch/soundtouch.git#tag=${pkgver})
+_tag=762f56024b7ade81f6565903161dffec0ad4741e
+source=(git+https://gitlab.com/soundtouch/soundtouch.git#tag=${_tag})
 sha256sums=(SKIP)
 
+pkgver() {
+  cd soundtouch
+
+  git describe --tags
+}
+
 prepare() {
   cd soundtouch
 
@@ -22,13 +30,13 @@
   cd soundtouch
 
   ./configure \
-    --prefix='/usr' \
+    --prefix=/usr \
     --enable-shared
   make
 }
 
 package() {
-  make DESTDIR="${pkgdir}" pkgdocdir='/usr/share/doc/soundtouch' -C soundtouch install
+  make DESTDIR="${pkgdir}" pkgdocdir=/usr/share/doc/soundtouch -C soundtouch install
 }
 
 # vim: ts=2 sw=2 et:



More information about the arch-commits mailing list