summaryrefslogtreecommitdiff
path: root/extra/bmp-musepack/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'extra/bmp-musepack/PKGBUILD')
-rw-r--r--extra/bmp-musepack/PKGBUILD20
1 files changed, 12 insertions, 8 deletions
diff --git a/extra/bmp-musepack/PKGBUILD b/extra/bmp-musepack/PKGBUILD
index 8aea2500c..0cde321fb 100644
--- a/extra/bmp-musepack/PKGBUILD
+++ b/extra/bmp-musepack/PKGBUILD
@@ -1,24 +1,28 @@
-# $Id: PKGBUILD 30184 2009-03-17 03:27:59Z eric $
+# $Id: PKGBUILD 137709 2011-09-10 13:05:29Z pierre $
# Maintainer: damir <damir@archlinux.org>
# Contributor: Nikos Kouremenos <nk@ebox.gr>
pkgname=bmp-musepack
pkgver=1.2
-pkgrel=3
+pkgrel=4
pkgdesc="A BMP plugin for playing sounds in Musepack (MPC) format"
-arch=(i686 x86_64 'mips64el')
+arch=('i686' 'x86_64' 'mips64el')
url="http://musepack.net/"
license=('BSD')
-depends=('bmp' 'libmpcdec>=1.2.5' 'taglib')
+depends=('bmp' 'libmpcdec' 'taglib')
groups=('bmp-plugins' 'bmp-io-plugins')
options=('!libtool')
-source=(http://files.musepack.net/linux/plugins/${pkgname}-${pkgver}.tar.bz2)
+source=("http://files.musepack.net/linux/plugins/${pkgname}-${pkgver}.tar.bz2")
md5sums=('5fe0c9d341ca37d05c780a478f829a5f')
build() {
cd ${srcdir}/${pkgname}-${pkgver}
- ./configure --prefix=/usr || return 1
- make || return 1
- make DESTDIR=${pkgdir} install || return 1
+ ./configure --prefix=/usr
+ make
+}
+
+package() {
+ cd ${srcdir}/${pkgname}-${pkgver}
+ make DESTDIR=${pkgdir} install
install -D -m644 COPYING ${pkgdir}/usr/share/licenses/${pkgname}/LICENSE
}