aboutsummaryrefslogtreecommitdiffstats
path: root/main
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2011-01-28 02:39:12 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2011-01-28 03:08:28 +0000
commit3b219b22611d29857b0d84d335ac646419dcc383 (patch)
tree7a3eabf34021a588eb3c24c3cd65926e3fba923b /main
parent16d00f80d0d2c199a3554d04ba07f5292a3f1585 (diff)
downloadaports-3b219b22611d29857b0d84d335ac646419dcc383.tar.bz2
aports-3b219b22611d29857b0d84d335ac646419dcc383.tar.xz
main/mpc: upgrade to 0.20
Diffstat (limited to 'main')
-rw-r--r--main/mpc/APKBUILD13
1 files changed, 8 insertions, 5 deletions
diff --git a/main/mpc/APKBUILD b/main/mpc/APKBUILD
index 50d41f6f7f..ca928e54e3 100644
--- a/main/mpc/APKBUILD
+++ b/main/mpc/APKBUILD
@@ -1,7 +1,7 @@
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=mpc
-pkgver=0.19
-pkgrel=1
+pkgver=0.20
+pkgrel=0
pkgdesc="Minimalist command line interface to MPD"
url="http://mpd.wikia.com/wiki/Client:Mpc"
arch="all"
@@ -11,11 +11,14 @@ depends=
makedepends="libmpdclient-dev"
source="http://downloads.sourceforge.net/project/musicpd/$pkgname/$pkgver/$pkgname-$pkgver.tar.bz2"
-build ()
-{
+build() {
cd "$srcdir"/mpc-$pkgver
./configure --prefix=/usr || return 1
make || return 1
+}
+
+package() {
+ cd "$srcdir"/mpc-$pkgver
make DESTDIR="$pkgdir" install || return 1
}
-md5sums="9ab2967d9ec719b06a86f3b4121be654 mpc-0.19.tar.bz2"
+md5sums="24c81ad6afe6099e8d7a6826ef4b7105 mpc-0.20.tar.bz2"