summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--abs/extra/libsamplerate/ChangeLog14
-rw-r--r--abs/extra/libsamplerate/PKGBUILD30
2 files changed, 19 insertions, 25 deletions
diff --git a/abs/extra/libsamplerate/ChangeLog b/abs/extra/libsamplerate/ChangeLog
deleted file mode 100644
index b76b041..0000000
--- a/abs/extra/libsamplerate/ChangeLog
+++ /dev/null
@@ -1,14 +0,0 @@
-2009-04-08 Eric Belanger <eric@archlinux.org>
-
- * libsamplerate 0.1.7-1
- * Upstream update
-
-2009-01-30 Eric Belanger <eric@archlinux.org>
-
- * libsamplerate 0.1.6-1
- * Upstream update
-
-2008-07-10 Eric Belanger <eric@archlinux.org>
-
- * libsamplerate 0.1.4-1
- * Upstream update
diff --git a/abs/extra/libsamplerate/PKGBUILD b/abs/extra/libsamplerate/PKGBUILD
index dc0f0fa..d157dc5 100644
--- a/abs/extra/libsamplerate/PKGBUILD
+++ b/abs/extra/libsamplerate/PKGBUILD
@@ -1,23 +1,31 @@
-# $Id: PKGBUILD 34235 2009-04-08 11:01:52Z eric $
-# Maintainer: Eric Belanger <eric@archlinux.org>
-# Contributor: Jason Chu <jchu@xentac.net>
+# $Id: PKGBUILD 136113 2011-08-23 03:20:21Z eric $
+# Maintainer: Eric BĂ©langer <eric@archlinux.org>
pkgname=libsamplerate
-pkgver=0.1.7
+pkgver=0.1.8
pkgrel=1
pkgdesc="Secret Rabbit Code - aka Sample Rate Converter for audio"
arch=('i686' 'x86_64')
url="http://www.mega-nerd.com/SRC/index.html"
license=('GPL')
-depends=('libsndfile' 'flac>=1.1.4')
+depends=('libsndfile')
options=('!libtool')
source=(http://www.mega-nerd.com/SRC/libsamplerate-${pkgver}.tar.gz)
-md5sums=('ad093e60ec44f0a60de8e29983ddbc0f')
-sha1sums=('98a52392eb97f9ba724ca024b3af29a8a0cc0206')
+md5sums=('1c7fb25191b4e6e3628d198a66a84f47')
+sha1sums=('e5fe82c4786be2fa33ca6bd4897db4868347fe70')
build() {
- cd ${srcdir}/${pkgname}-${pkgver}
- ./configure --prefix=/usr || return 1
- make || return 1
- make DESTDIR=${pkgdir} install || return 1
+ cd "${srcdir}/${pkgname}-${pkgver}"
+ ./configure --prefix=/usr
+ make
+}
+
+check() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+ make check
+}
+
+package() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+ make DESTDIR="${pkgdir}" install
}