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

Maxime Gauduin alucryd at archlinux.org
Mon Oct 1 09:37:51 UTC 2018


    Date: Monday, October 1, 2018 @ 09:37:51
  Author: alucryd
Revision: 388738

upgpkg: lib32-soundtouch 2.1.0-1

Modified:
  lib32-soundtouch/trunk/PKGBUILD

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

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2018-10-01 09:23:01 UTC (rev 388737)
+++ PKGBUILD	2018-10-01 09:37:51 UTC (rev 388738)
@@ -2,7 +2,7 @@
 # Contributor: josephgbr <rafael.f.f1 at gmail.com>
 
 pkgname=lib32-soundtouch
-pkgver=2.0.0
+pkgver=2.1.0
 pkgrel=1
 pkgdesc='An audio processing library'
 arch=('x86_64')
@@ -9,10 +9,16 @@
 url='http://www.surina.net/soundtouch/'
 license=('LGPL')
 depends=('lib32-gcc-libs' 'soundtouch')
-makedepends=('gcc-multilib')
-source=("http://www.surina.net/soundtouch/soundtouch-${pkgver}.tar.gz")
-sha256sums=('d224f7d1421b5f8e74a74c85741345bd9802618a40ae30ce5b427a5705c89d25')
+makedepends=('git')
+source=("git+https://gitlab.com/soundtouch/soundtouch.git#tag=${pkgver}")
+sha256sums=('SKIP')
 
+prepare() {
+  cd soundtouch
+
+  ./bootstrap
+}
+
 build() {
   cd soundtouch
 
@@ -20,7 +26,6 @@
   export CXX='g++ -m32'
   export PKG_CONFIG_PATH='/usr/lib32/pkgconfig'
 
-  ./bootstrap
   ./configure \
     --prefix='/usr' \
     --libdir='/usr/lib32' \
@@ -29,9 +34,7 @@
 }
 
 package() {
-  cd soundtouch
-
-  make DESTDIR="${pkgdir}" install
+  make DESTDIR="${pkgdir}" -C soundtouch install
   rm -rf "${pkgdir}"/usr/{bin,doc,include,share}
 }
 



More information about the arch-commits mailing list