summaryrefslogtreecommitdiff
path: root/extra/mpc/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'extra/mpc/PKGBUILD')
-rw-r--r--extra/mpc/PKGBUILD32
1 files changed, 16 insertions, 16 deletions
diff --git a/extra/mpc/PKGBUILD b/extra/mpc/PKGBUILD
index 788ddcc88..5ac2a36fc 100644
--- a/extra/mpc/PKGBUILD
+++ b/extra/mpc/PKGBUILD
@@ -1,30 +1,30 @@
-# $Id: PKGBUILD 132481 2011-07-24 21:57:50Z angvp $
-# Maintainer: Angel Velasquez <angvp@archlinux.org>
+# $Id: PKGBUILD 153244 2012-03-12 13:46:46Z bisson $
+# Maintainer: Gaetan Bisson <bisson@archlinux.org>
+# Contributor: Angel Velasquez <angvp@archlinux.org>
# Contributor: Andrea Scarpino <andrea@archlinux.org>
# Contributor: Alexander Fehr <pizzapunk gmail com>
# Contributor: Link Dupont <link@subpop.net>
pkgname=mpc
-pkgver=0.21
+pkgver=0.22
pkgrel=1
-pkgdesc="Minimalist command line interface to MPD"
-arch=('i686' 'x86_64' 'mips64el')
-url="http://mpd.wikia.com/wiki/Client:Mpc"
+pkgdesc='Minimalist command line interface to MPD'
+url='http://mpd.wikia.com/wiki/Client:Mpc'
license=('GPL2')
-depends=('libmpdclient')
+arch=('i686' 'x86_64' 'mips64el')
options=('!emptydirs')
-source=(http://downloads.sourceforge.net/musicpd/${pkgname}-$pkgver.tar.bz2)
-md5sums=('d8f88aad5fa7ed4c6e7005c5ec1ba7c5')
+depends=('libmpdclient')
+source=("http://downloads.sourceforge.net/musicpd/${pkgname}-${pkgver}.tar.gz")
+sha1sums=('e35414c1f5b25f4e500ceae125adb5bb9063b029')
build() {
- cd "$srcdir/$pkgname-$pkgver"
- ./configure --prefix=/usr
- make
+ cd "${srcdir}/${pkgname}-${pkgver}"
+ ./configure --prefix=/usr
+ make
}
package() {
- cd "$srcdir/$pkgname-$pkgver"
- make DESTDIR="$pkgdir" install
- # Install bash completion file
- install -D -m644 doc/mpc-completion.bash "$pkgdir/etc/bash_completion.d/mpc"
+ cd "${srcdir}/${pkgname}-${pkgver}"
+ make DESTDIR="${pkgdir}" install
+ install -Dm644 doc/mpc-completion.bash "${pkgdir}/etc/bash_completion.d/mpc"
}