aboutsummaryrefslogtreecommitdiffstats
path: root/community
diff options
context:
space:
mode:
authorLeo <thinkabit.ukim@gmail.com>2019-06-12 09:22:56 -0300
committerLeo <thinkabit.ukim@gmail.com>2019-06-12 16:07:12 -0300
commit75e2806450d31a5355bece9c87429a5b16f8a49b (patch)
tree740d2d901a9493d7b8384aa3fb62c5bcb9332468 /community
parent36581859687f5ee19ff0e41afdfdd70f2e3afb3d (diff)
downloadaports-75e2806450d31a5355bece9c87429a5b16f8a49b.tar.gz
aports-75e2806450d31a5355bece9c87429a5b16f8a49b.tar.bz2
aports-75e2806450d31a5355bece9c87429a5b16f8a49b.tar.xz
community/mpc: upgrade to 0.32
Diffstat (limited to 'community')
-rw-r--r--community/mpc/APKBUILD14
1 files changed, 8 insertions, 6 deletions
diff --git a/community/mpc/APKBUILD b/community/mpc/APKBUILD
index 3dba8e9927..ba4c0d6d03 100644
--- a/community/mpc/APKBUILD
+++ b/community/mpc/APKBUILD
@@ -1,31 +1,33 @@
# Contributor: Sören Tempel <soeren+alpine@soeren-tempel.net>
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=mpc
-pkgver=0.31
+pkgver=0.32
pkgrel=0
pkgdesc="Minimalist command line interface to MPD"
url="https://www.musicpd.org/clients/mpc/"
arch="all"
license="GPL-2.0-or-later"
-makedepends="libmpdclient-dev py-sphinx meson"
+makedepends="libmpdclient-dev py-sphinx meson check-dev"
subpackages="$pkgname-bash-completion:bashcomp:noarch $pkgname-doc"
source="https://www.musicpd.org/download/$pkgname/${pkgver%.*}/$pkgname-$pkgver.tar.xz"
-builddir="$srcdir/$pkgname-$pkgver"
build() {
- cd "$builddir"
meson \
--prefix=/usr \
--sysconfdir=/etc \
--mandir=/usr/share/man \
--localstatedir=/var \
--buildtype=release \
+ -Dtest=true \
. output
ninja -C output
}
+check() {
+ ninja -C output test
+}
+
package() {
- cd "$builddir"
DESTDIR="$pkgdir" ninja -C output install
}
@@ -39,4 +41,4 @@ bashcomp() {
"$subpkgdir"/usr/share/bash-completion/completions/$pkgname
}
-sha512sums="48df7d85df704ae901ee0a07193daf9738b682b71a24ebd5bf4458aa562acd11b582f83adcfca814faa9a014ef565cb6c23df837b83a569fd6050f9f3802e6fe mpc-0.31.tar.xz"
+sha512sums="1913249da8b29123005a9877ff2e68f9469f8fd48f5411ea0e651255c93fbe14ef6029dadc7d256a99b566085dc19f4c62bdcf55260b27de3d088b8e9c17fcde mpc-0.32.tar.xz"