diff options
Diffstat (limited to 'extra/libofa/PKGBUILD')
-rw-r--r-- | extra/libofa/PKGBUILD | 34 |
1 files changed, 17 insertions, 17 deletions
diff --git a/extra/libofa/PKGBUILD b/extra/libofa/PKGBUILD index c58f98794..97905a1ea 100644 --- a/extra/libofa/PKGBUILD +++ b/extra/libofa/PKGBUILD @@ -1,38 +1,38 @@ -# $Id: PKGBUILD 80563 2010-05-19 16:11:07Z andrea $ +# $Id: PKGBUILD 122092 2011-05-02 06:40:37Z andrea $ # Maintainer: Andrea Scarpino <andrea@archlinux.org> # Contributor: Tobias Powalowski <tpowa@archlinux.org> pkgname=libofa pkgver=0.9.3 -pkgrel=2 -pkgdesc="Open Fingerprint Architecture" -arch=(i686 x86_64) +pkgrel=3 +pkgdesc="An open-source audio fingerprint by MusicIP" +arch=('i686' 'x86_64') url="http://code.google.com/p/musicip-libofa/" license=('GPL2' 'custom') depends=('expat' 'curl' 'fftw' 'gcc-libs') makedepends=('pkgconfig') options=('!libtool') source=("http://musicip-libofa.googlecode.com/files/$pkgname-$pkgver.tar.gz" - 'gcc-4.patch' - 'gcc4.3.patch' - 'gcc4.5.patch') + 'gcc-4.patch' + 'gcc4.3.patch' + 'gcc4.5.patch') sha1sums=('3dec8e1dcea937f74b4165e9ffd4d4f355e4594a' 'cb19377d0634c03d2a49cfc61915cec918c341f7' 'cae08bdc12de923d5e032696702a0530ae6eafc1' - '754d69d66ab46219035ccafeeb3ff62433cca4f2') + '754d69d66ab46219035ccafeeb3ff62433cca4f2') build() { - cd ${srcdir}/${pkgname}-${pkgver} - patch -Np0 -i ${srcdir}/gcc-4.patch || return 1 - patch -Np1 -i ${srcdir}/gcc4.3.patch || return 1 - patch -Np1 -i ${srcdir}/gcc4.5.patch || return 1 - ./configure --prefix=/usr || return 1 - make || return 1 + cd "${srcdir}/${pkgname}-${pkgver}" + patch -p0 -i ${srcdir}/gcc-4.patch + patch -p1 -i ${srcdir}/gcc4.3.patch + patch -p1 -i ${srcdir}/gcc4.5.patch + ./configure --prefix=/usr + make } package() { - cd ${srcdir}/${pkgname}-${pkgver} - make DESTDIR=${pkgdir} install || return 1 + cd "${srcdir}/${pkgname}-${pkgver}" + make DESTDIR=${pkgdir} install - install -D -m644 COPYING ${pkgdir}/usr/share/licenses/${pkgname}/LICENSE + install -D -m644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" } |