summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJames Meyer <james.meyer@operamail.com>2012-08-15 15:50:28 (GMT)
committerJames Meyer <james.meyer@operamail.com>2012-08-15 15:50:28 (GMT)
commit513f055a0d6b694cf1d53683013d9eb103ba8a35 (patch)
tree2939edb60b1cab5f688c26ae3174e5c8b80807e2
parent808fae3cc177e0824165398e1cd7b6683aadec1d (diff)
downloadlinhes_pkgbuild-513f055a0d6b694cf1d53683013d9eb103ba8a35.zip
linhes_pkgbuild-513f055a0d6b694cf1d53683013d9eb103ba8a35.tar.gz
linhes_pkgbuild-513f055a0d6b694cf1d53683013d9eb103ba8a35.tar.bz2
wavpack: 4.60.1
-rw-r--r--abs/extra/wavpack/PKGBUILD28
1 files changed, 16 insertions, 12 deletions
diff --git a/abs/extra/wavpack/PKGBUILD b/abs/extra/wavpack/PKGBUILD
index 87e19c3..c27e4dc 100644
--- a/abs/extra/wavpack/PKGBUILD
+++ b/abs/extra/wavpack/PKGBUILD
@@ -1,29 +1,33 @@
-# $Id: PKGBUILD 69146 2010-02-18 00:37:49Z dgriffiths $
-# Maintainer: François Charette <firmicus ατ gmx δοτ net>
+# $Id: PKGBUILD 146400 2012-01-10 20:33:06Z andrea $
+# Maintainer:
+# Contributor: François Charette <firmicus ατ gmx δοτ net>
# Contributor: Shinlun Hsieh <yngwiexx@yahoo.com.tw>
# Contributor: Michal Hybner <dta081@gmail.com>
+
pkgname=wavpack
pkgver=4.60.1
-pkgrel=1
+pkgrel=2
pkgdesc="Audio compression format with lossless, lossy, and hybrid compression modes"
arch=('i686' 'x86_64')
url="http://www.wavpack.com/"
license=('custom')
depends=('glibc')
options=('!libtool')
-source=(http://www.wavpack.com/${pkgname}-${pkgver}.tar.bz2)
+source=("http://www.wavpack.com/${pkgname}-${pkgver}.tar.bz2")
md5sums=('7bb1528f910e4d0003426c02db856063')
build() {
- cd ${srcdir}/${pkgname}-${pkgver}
- ./configure --prefix=/usr --enable-mmx --disable-static || return 1
- make || return 1
+ cd ${srcdir}/${pkgname}-${pkgver}
+ ./configure --prefix=/usr \
+ --enable-mmx \
+ --disable-static
+ make
}
package() {
- cd ${srcdir}/${pkgname}-${pkgver}
- make DESTDIR=${pkgdir} install || return 1
- install -m755 -d ${pkgdir}/usr/share/licenses/${pkgname}
- install -m644 license.txt ${pkgdir}/usr/share/licenses/${pkgname}/ || return 1
- rm -f ${pkgdir}/usr/lib/*.a
+ cd ${srcdir}/${pkgname}-${pkgver}
+ make DESTDIR=${pkgdir} install
+
+ install -Dm644 license.txt \
+ ${pkgdir}/usr/share/licenses/${pkgname}/LICENSE
}