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/PKGBUILD43
1 files changed, 21 insertions, 22 deletions
diff --git a/abs/core/libsndfile/PKGBUILD b/abs/core/libsndfile/PKGBUILD
index 79cda51..8acc8f7 100644
--- a/abs/core/libsndfile/PKGBUILD
+++ b/abs/core/libsndfile/PKGBUILD
@@ -1,28 +1,27 @@
-# $Id: PKGBUILD 356 2008-04-18 22:56:27Z aaron $
-# Maintainer: Arjan Timmerman <arjan@archlinux.org>
-# Contributor: Tom Newsom <Jeepster@gmx.co.uk>
+# $Id: PKGBUILD 94887 2010-10-11 21:28:29Z eric $
+# Maintainer: Eric Belanger <eric@archlinux.org>
+
pkgname=libsndfile
-pkgver=1.0.17
-pkgrel=2
-options=(!libtool)
-pkgdesc="a C library for reading and writing files containing sampled sound"
-arch=(i686 x86_64)
+pkgver=1.0.23
+pkgrel=1
+pkgdesc="A C library for reading and writing files containing sampled sound"
+arch=('i686' 'x86_64')
url="http://www.mega-nerd.com/libsndfile"
-depends=('alsa-lib' 'flac>=1.1.4')
-source=(http://www.mega-nerd.com/libsndfile/$pkgname-$pkgver.tar.gz flac-1.1.4.dpatch lossy_comp_test-overflow.dpatch overflow.dpatch)
+license=('LGPL')
+depends=('alsa-lib' 'flac' 'libvorbis')
+options=('!libtool')
+changelog=ChangeLog
+source=(http://www.mega-nerd.com/libsndfile/files/${pkgname}-${pkgver}.tar.gz)
+md5sums=('d0e22b5ff2ef945615db33960376d733')
+sha1sums=('dee36861b503fe7754f0131364523f45720a0914')
-md5sums=('2d126c35448503f6dbe33934d9581f6b'
- '839e5132d9d379779b0d3132cad65017'
- '2241d8b0a0961a956e36ca0fb0fead51'
- '1731b62a80257de069a72435f39ece00')
build() {
- cd $startdir/src/$pkgname-$pkgver
- patch -Np1 -i ../flac-1.1.4.dpatch || return 1
- patch -Np1 -i ../lossy_comp_test-overflow.dpatch || return 1
- patch -Np1 -i ../overflow.dpatch || return 1
- aclocal
- automake
+ cd "${srcdir}/${pkgname}-${pkgver}"
./configure --prefix=/usr --disable-sqlite
- make || return 1
- make DESTDIR=$startdir/pkg install
+ make
+}
+
+package() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+ make DESTDIR="${pkgdir}" install
}