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

Maxime Gauduin alucryd at archlinux.org
Sat Nov 24 12:22:32 UTC 2018


    Date: Saturday, November 24, 2018 @ 12:22:31
  Author: alucryd
Revision: 340375

upgpkg: soundtouch 2.1.1-1

Modified:
  soundtouch/trunk/PKGBUILD

----------+
 PKGBUILD |   34 +++++++++++++++++++---------------
 1 file changed, 19 insertions(+), 15 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2018-11-24 12:10:45 UTC (rev 340374)
+++ PKGBUILD	2018-11-24 12:22:31 UTC (rev 340375)
@@ -1,29 +1,33 @@
 # Maintainer: Eric Bélanger <eric at archlinux.org>
 
 pkgname=soundtouch
-pkgver=2.1.0
+pkgver=2.1.1
 pkgrel=1
-pkgdesc="An audio processing library"
-arch=('x86_64')
-url="http://www.surina.net/soundtouch/"
-license=('LGPL')
-depends=('gcc-libs')
-source=(https://gitlab.com/soundtouch/soundtouch/-/archive/$pkgver/$pkgname-$pkgver.tar.gz)
-sha256sums=('454712b08bf758f6a4c0df8821350c323e5b274443a20e21d193d17c5dc3d0d5')
+pkgdesc='An audio processing library'
+arch=(x86_64)
+url='http://www.surina.net/soundtouch/'
+license=(LGPL)
+makedepends=(git)
+source=(git+https://gitlab.com/soundtouch/soundtouch.git#tag=${pkgver})
+sha256sums=(SKIP)
 
 prepare() {
-  cd $pkgname-$pkgver
-  sed -i 's/AM_CONFIG_HEADER/AC_CONFIG_HEADER/' configure.ac
+  cd soundtouch
+
+  ./bootstrap
 }
 
 build() {
-  cd $pkgname-$pkgver
-  ./bootstrap
-  ./configure --prefix=/usr --enable-shared ${CONFIGFLAG}
+  cd soundtouch
+
+  ./configure \
+    --prefix='/usr' \
+    --enable-shared
   make
 }
 
 package() {
-  cd $pkgname-$pkgver
-  make DESTDIR="$pkgdir" pkgdocdir=/usr/share/doc/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