diff options
author | Sören Tempel <soeren+git@soeren-tempel.net> | 2017-09-16 13:57:37 +0200 |
---|---|---|
committer | Sören Tempel <soeren+git@soeren-tempel.net> | 2017-09-16 13:57:37 +0200 |
commit | 28c5fbc1e1c616c7d48a8e24c9d425b0ef8b6807 (patch) | |
tree | 31a9bcd4a39d801bb6452942a30570521d3e93dd /main/libmpdclient | |
parent | a2bfea277f4fd641bdde2bab86bfa516d3177173 (diff) | |
download | aports-28c5fbc1e1c616c7d48a8e24c9d425b0ef8b6807.tar.bz2 aports-28c5fbc1e1c616c7d48a8e24c9d425b0ef8b6807.tar.xz |
main/libmpdclient: upgrade to 2.13
Diffstat (limited to 'main/libmpdclient')
-rw-r--r-- | main/libmpdclient/APKBUILD | 24 |
1 files changed, 11 insertions, 13 deletions
diff --git a/main/libmpdclient/APKBUILD b/main/libmpdclient/APKBUILD index 71f0d1a712..a8a6532d85 100644 --- a/main/libmpdclient/APKBUILD +++ b/main/libmpdclient/APKBUILD @@ -1,32 +1,30 @@ # Maintainer: Natanael Copa <ncopa@alpinelinux.org> pkgname=libmpdclient -pkgver=2.11 +pkgver=2.13 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="GPL2" -depends= -makedepends="doxygen" +depends="" +makedepends="meson" subpackages="$pkgname-dev $pkgname-doc" source="https://www.musicpd.org/download/$pkgname/${pkgver%.*}/$pkgname-$pkgver.tar.xz" builddir="$srcdir/$pkgname-$pkgver" build() { cd "$builddir" - ./configure \ - --build=$CBUILD \ - --host=$CHOST \ - --prefix=/usr \ - --sysconfdir=/etc \ - --mandir=/usr/share/man \ - --localstatedir=/var - make + meson --prefix=/usr . output + ninja -C output } package() { cd "$builddir" - make DESTDIR="$pkgdir" install + DESTDIR="$pkgdir" ninja -C output install + + mkdir -p "$pkgdir"/usr/share/licenses/$pkgname/ + mv "$pkgdir"/usr/share/doc/libmpdclient/COPYING \ + "$pkgdir"/usr/share/licenses/$pkgname/ } -sha512sums="0503db31262acfb871578278d6526e12ee2ffbbe414425ab5ebac61f27da8ad4503d948b4d192421d301bd0a29b9b460f195e82a44608f984697a8aa47b2eb9b libmpdclient-2.11.tar.xz" +sha512sums="a2aa4e1e4fcb4ab390a0a38e745e59a9764c40bfcd07d449fdc7fef7b0c5fc0c2e795ef545b6fa6d62c00861d306cab41ea43011510ad1e3a60603873a3c1b28 libmpdclient-2.13.tar.xz" |