summaryrefslogtreecommitdiff
path: root/extra/libmpd/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'extra/libmpd/PKGBUILD')
-rw-r--r--extra/libmpd/PKGBUILD22
1 files changed, 13 insertions, 9 deletions
diff --git a/extra/libmpd/PKGBUILD b/extra/libmpd/PKGBUILD
index 9309a8f64..3ec83e29a 100644
--- a/extra/libmpd/PKGBUILD
+++ b/extra/libmpd/PKGBUILD
@@ -1,22 +1,26 @@
-# $Id: PKGBUILD 80681 2010-05-20 18:05:26Z ibiru $
+# $Id: PKGBUILD 136733 2011-08-31 19:31:16Z eric $
# Maintainer: Andrea Scarpino <andrea@archlinux.org>
# Contributor: tobias <tobias@archlinux.org>
pkgname=libmpd
-pkgver=0.20.0
+pkgver=11.8.17
pkgrel=1
pkgdesc="Signal based wrapper around libmpdclient"
-arch=(i686 x86_64 'mips64el')
-license=('GPL')
+arch=('i686' 'x86_64' 'mips64el')
url="http://gmpc.wikia.com/wiki/Gnome_Music_Player_Client"
+license=('GPL')
depends=('glib2')
options=('!libtool')
-source=(http://download.sarine.nl/Programs/gmpc/${pkgver}/${pkgname}-${pkgver}.tar.gz)
-md5sums=('2f1c99e12c69f7d95cfd1e27368056ed')
+source=(http://download.sarine.nl/Programs/gmpc/${pkgver%.*}/${pkgname}-${pkgver}.tar.gz)
+md5sums=('5ae3d87467d52aef3345407adb0a2488')
build() {
- cd ${srcdir}/$pkgname-$pkgver
+ cd "${srcdir}/$pkgname-$pkgver"
./configure --prefix=/usr
- make || return 1
- make DESTDIR=${pkgdir} install
+ make
+}
+
+package() {
+ cd "${srcdir}/$pkgname-$pkgver"
+ make DESTDIR="${pkgdir}" install
}