diff options
author | root <root@rshg054.dnsready.net> | 2013-10-25 02:08:36 -0700 |
---|---|---|
committer | root <root@rshg054.dnsready.net> | 2013-10-25 02:08:36 -0700 |
commit | 5a3821aec094b38a412cf5e6997c08b6428d6f77 (patch) | |
tree | 80caf9e8d169d5c43d828ede599cb91fa065d8df /extra/libsndfile/PKGBUILD | |
parent | 94ded0cb27161b972228cfef8ea2e6f60af0f2b2 (diff) |
Fri Oct 25 02:07:10 PDT 2013
Diffstat (limited to 'extra/libsndfile/PKGBUILD')
-rw-r--r-- | extra/libsndfile/PKGBUILD | 17 |
1 files changed, 10 insertions, 7 deletions
diff --git a/extra/libsndfile/PKGBUILD b/extra/libsndfile/PKGBUILD index cff3c6442..d72103a98 100644 --- a/extra/libsndfile/PKGBUILD +++ b/extra/libsndfile/PKGBUILD @@ -1,34 +1,37 @@ -# $Id: PKGBUILD 149407 2012-02-07 15:40:58Z eric $ +# $Id: PKGBUILD 197269 2013-10-24 20:25:13Z eric $ # Maintainer: Eric BĂ©langer <eric@archlinux.org> pkgname=libsndfile pkgver=1.0.25 -pkgrel=2 +pkgrel=3 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') source=(http://www.mega-nerd.com/libsndfile/files/${pkgname}-${pkgver}.tar.gz{,.asc}) sha1sums=('e95d9fca57f7ddace9f197071cbcfb92fa16748e' 'a93d26016730cb9fa214c753d079ee77dca1f326') -build() { - cd "${srcdir}/${pkgname}-${pkgver}" +prepare() { + cd ${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 +} + +build() { + cd ${pkgname}-${pkgver} ./configure --prefix=/usr --disable-sqlite make } check() { - cd "${srcdir}/${pkgname}-${pkgver}" + cd ${pkgname}-${pkgver} make check } package() { - cd "${srcdir}/${pkgname}-${pkgver}" + cd ${pkgname}-${pkgver} make DESTDIR="${pkgdir}" install } |