OCaml 4.14.0 rebuild
[arch-packages.git] / mpc / trunk / PKGBUILD
blobb8fa45b5320971969bf4c4470a4fcdde2a8ce376
1 # Maintainer: David Runge <dvzrv@archlinux.org>
2 # Contributor: Gaetan Bisson <bisson@archlinux.org>
3 # Contributor: Angel Velasquez <angvp@archlinux.org>
4 # Contributor: Andrea Scarpino <andrea@archlinux.org>
5 # Contributor: Alexander Fehr <pizzapunk gmail com>
6 # Contributor: Link Dupont <link@subpop.net>
8 pkgname=mpc
9 pkgver=0.34
10 pkgrel=2
11 pkgdesc="Minimalist command line interface to MPD"
12 arch=(x86_64)
13 url="https://www.musicpd.org/clients/mpc/"
14 license=(GPL2)
15 depends=(glibc)
16 makedepends=(libmpdclient meson python-sphinx rsync)
17 options=(debug)
18 source=("https://www.musicpd.org/download/${pkgname}/${pkgver%.*}/${pkgname}-${pkgver}.tar.xz"{,.sig})
19 sha512sums=('d43d5547134ffb24f2a2972882f6e264c1011a94d1033369d329487f59414d32d9842835afdd05da96fd8ed28f823d2ae2f46d8d8d24b68f3695badca2a9bbb2'
20             'SKIP')
21 b2sums=('709f54ceebd66f703e5b1bf6ff8deb890e484fdc29c0b2198922763e347caac89d6eec5f74101f9fa860436e7493e2b02cc6b1b26e800e783546fe5a0c6e0d8f'
22         'SKIP')
23 validpgpkeys=('0392335A78083894A4301C43236E8A58C6DB4512') # Max Kellermann <max@blarg.de>
26 build() {
27   arch-meson build $pkgname-$pkgver
28   ninja -C build
31 package() {
32   depends+=(libmpdclient.so)
34   DESTDIR="$pkgdir" ninja -C build install
35   install -vDm 644 $pkgname-$pkgver/contrib/mpc-completion.bash "$pkgdir/usr/share/bash-completion/completions/mpc"
36   # the html documentation is not reproducible and only the man page is needed
37   rm -rvf "$pkgdir/usr/share/doc/$pkgname/"{html,contrib/*.bash}