summaryrefslogtreecommitdiffstats
path: root/abs/extra/libsamplerate/PKGBUILD
diff options
context:
space:
mode:
authorJames Meyer <james.meyer@operamail.com>2012-08-07 19:58:29 (GMT)
committerJames Meyer <james.meyer@operamail.com>2012-08-07 19:58:29 (GMT)
commitc2d7e39a3eccb58edae792626b2b7ab857aca25d (patch)
treed7b5b51976896a0b20def3cd41ab34caba3659c2 /abs/extra/libsamplerate/PKGBUILD
parent3ee5ce3c81de7d50a8a245133758ade323f0b5da (diff)
downloadlinhes_pkgbuild-c2d7e39a3eccb58edae792626b2b7ab857aca25d.zip
linhes_pkgbuild-c2d7e39a3eccb58edae792626b2b7ab857aca25d.tar.gz
linhes_pkgbuild-c2d7e39a3eccb58edae792626b2b7ab857aca25d.tar.bz2
libsamplerate .1.8
Diffstat (limited to 'abs/extra/libsamplerate/PKGBUILD')
-rw-r--r--abs/extra/libsamplerate/PKGBUILD30
1 files changed, 19 insertions, 11 deletions
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
}