aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLeo <thinkabit.ukim@gmail.com>2019-12-05 13:41:03 +0100
committerLeo <thinkabit.ukim@gmail.com>2019-12-05 15:27:58 +0100
commitbc0e81cf4d29ad3a14ba3d847f5b0bf19482f317 (patch)
treeaa09ae80124f85f4f723ec23497fcc6a8fbe8e66
parent35cbd2491fe3be01ad712933d2107279b030c8f6 (diff)
downloadaports-bc0e81cf4d29ad3a14ba3d847f5b0bf19482f317.tar.gz
aports-bc0e81cf4d29ad3a14ba3d847f5b0bf19482f317.tar.bz2
aports-bc0e81cf4d29ad3a14ba3d847f5b0bf19482f317.tar.xz
community/libmpdclient: upgrade to 2.17
-rw-r--r--community/libmpdclient/APKBUILD19
1 files changed, 10 insertions, 9 deletions
diff --git a/community/libmpdclient/APKBUILD b/community/libmpdclient/APKBUILD
index beb58a4490..5ab5b4519f 100644
--- a/community/libmpdclient/APKBUILD
+++ b/community/libmpdclient/APKBUILD
@@ -1,31 +1,32 @@
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=libmpdclient
-pkgver=2.16
+pkgver=2.17
pkgrel=0
pkgdesc="An asynchronous API library for interfacing MPD in the C, C++ & Objective C languages"
url="https://www.musicpd.org/libs/libmpdclient"
arch="all"
-license="GPL-2.0"
-depends=""
-makedepends="meson"
+license="BSD-3-Clause"
+makedepends="meson check-dev"
subpackages="$pkgname-dev $pkgname-doc"
-source="https://www.musicpd.org/download/$pkgname/${pkgver%.*}/$pkgname-$pkgver.tar.xz"
-builddir="$srcdir/$pkgname-$pkgver"
+source="https://www.musicpd.org/download/libmpdclient/${pkgver%.*}/libmpdclient-$pkgver.tar.xz"
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
mkdir -p "$pkgdir"/usr/share/licenses/$pkgname/
@@ -33,4 +34,4 @@ package() {
"$pkgdir"/usr/share/licenses/$pkgname/
}
-sha512sums="520568f61cee447e48c04075d212c46e9640fd3f82604a5b9f4c6ded94eeb4a841e857e44e9f4edad12d93c1052692e7d32d3dbf505d4c0cde6cc217cff0cae5 libmpdclient-2.16.tar.xz"
+sha512sums="8d3f2064dec97f3b93900a2f9e2b555701800ef0eba4dec65e9871b313513f7a829b27596c4ffc2b8832a7eee875f3d1416a2044f635dddc0a7266364b854ec7 libmpdclient-2.17.tar.xz"