summaryrefslogtreecommitdiffstats
path: root/abs/core/libsndfile/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'abs/core/libsndfile/PKGBUILD')
-rw-r--r--abs/core/libsndfile/PKGBUILD23
1 files changed, 15 insertions, 8 deletions
diff --git a/abs/core/libsndfile/PKGBUILD b/abs/core/libsndfile/PKGBUILD
index 8acc8f7..cff3c64 100644
--- a/abs/core/libsndfile/PKGBUILD
+++ b/abs/core/libsndfile/PKGBUILD
@@ -1,26 +1,33 @@
-# $Id: PKGBUILD 94887 2010-10-11 21:28:29Z eric $
-# Maintainer: Eric Belanger <eric@archlinux.org>
+# $Id: PKGBUILD 149407 2012-02-07 15:40:58Z eric $
+# Maintainer: Eric BĂ©langer <eric@archlinux.org>
pkgname=libsndfile
-pkgver=1.0.23
-pkgrel=1
+pkgver=1.0.25
+pkgrel=2
pkgdesc="A C library for reading and writing files containing sampled sound"
arch=('i686' 'x86_64')
url="http://www.mega-nerd.com/libsndfile"
license=('LGPL')
depends=('alsa-lib' 'flac' 'libvorbis')
+checkdepends=('python2')
options=('!libtool')
-changelog=ChangeLog
-source=(http://www.mega-nerd.com/libsndfile/files/${pkgname}-${pkgver}.tar.gz)
-md5sums=('d0e22b5ff2ef945615db33960376d733')
-sha1sums=('dee36861b503fe7754f0131364523f45720a0914')
+source=(http://www.mega-nerd.com/libsndfile/files/${pkgname}-${pkgver}.tar.gz{,.asc})
+sha1sums=('e95d9fca57f7ddace9f197071cbcfb92fa16748e'
+ 'a93d26016730cb9fa214c753d079ee77dca1f326')
build() {
cd "${srcdir}/${pkgname}-${pkgver}"
+ sed -i 's|#!/usr/bin/python|#!/usr/bin/python2|' src/binheader_writef_check.py \
+ src/create_symbols_file.py programs/test-sndfile-metadata-set.py
./configure --prefix=/usr --disable-sqlite
make
}
+check() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+ make check
+}
+
package() {
cd "${srcdir}/${pkgname}-${pkgver}"
make DESTDIR="${pkgdir}" install