upgpkg: ocaml 5.0.0-1
[arch-packages.git] / libmpdclient / trunk / PKGBUILD
blob4ced49d9e8c96b7771edd3e00919919a6c61d635
1 # Maintainer: David Runge <dvzrv@archlinux.org>
2 # Contributor: Gaetan Bisson <bisson@archlinux.org>
3 # Contributor: Andrea Scarpino <andrea@archlinux.org>
5 pkgname=libmpdclient
6 pkgver=2.20
7 pkgrel=3
8 pkgdesc="C library to implement a MPD client"
9 arch=(x86_64)
10 url="https://www.musicpd.org/libs/libmpdclient/"
11 license=(BSD)
12 depends=(glibc)
13 makedepends=(meson)
14 provides=(libmpdclient.so)
15 source=(https://www.musicpd.org/download/$pkgname/${pkgver%.*}/$pkgname-$pkgver.tar.xz{,.sig})
16 sha512sums=('3271c8eae017402976dbfabc51c7cb8d39912c8a3fd6cd075adc978d490f2eb850d86ccec9f7bccbda48c9d6ca1cda89918ac7c76b21f7f63ca1a276b67e94b6'
17             'SKIP')
18 b2sums=('d80c343d7655ccddb253275694d40665d286bf9c59729d0c836c927ab479b1ab4819f36a69c62a29c3ad220fcbfa712da5418cf8c3cc9f9e24af4e3c39ce1e11'
19         'SKIP')
20 validpgpkeys=('0392335A78083894A4301C43236E8A58C6DB4512') # Max Kellermann <max@blarg.de>
22 build() {
23   arch-meson build $pkgname-$pkgver
24   ninja -C build
27 package() {
28   DESTDIR="$pkgdir" ninja -C build install
29   install -vdm 755 "$pkgdir/usr/share/licenses/$pkgname"
30   ln -sv /usr/share/doc/$pkgname/COPYING "$pkgdir/usr/share/licenses/$pkgname/COPYING"