upgpkg: sbcl 2.2.11-1
[arch-packages.git] / libmpdclient / trunk / PKGBUILD
blobb7f518d7958d6c686d9b319141b34780fa42573e
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=2
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 options=(debug)
16 source=("https://www.musicpd.org/download/${pkgname}/${pkgver%.*}/${pkgname}-${pkgver}.tar.xz"{,.sig})
17 sha512sums=('3271c8eae017402976dbfabc51c7cb8d39912c8a3fd6cd075adc978d490f2eb850d86ccec9f7bccbda48c9d6ca1cda89918ac7c76b21f7f63ca1a276b67e94b6'
18             'SKIP')
19 b2sums=('d80c343d7655ccddb253275694d40665d286bf9c59729d0c836c927ab479b1ab4819f36a69c62a29c3ad220fcbfa712da5418cf8c3cc9f9e24af4e3c39ce1e11'
20         'SKIP')
21 validpgpkeys=('0392335A78083894A4301C43236E8A58C6DB4512') # Max Kellermann <max@blarg.de>
23 build() {
24   arch-meson build $pkgname-$pkgver
25   ninja -C build
28 package() {
29   DESTDIR="${pkgdir}" ninja -C build install
30   install -vdm 755 "$pkgdir/usr/share/licenses/$pkgname"
31   ln -sv "/usr/share/doc/$pkgname/COPYING" "$pkgdir/usr/share/licenses/$pkgname/COPYING"