archrelease: copy trunk to extra-x86_64
[arch-packages.git] / mpc / repos / extra-x86_64 / PKGBUILD
blobc11d839d157e278d4ece4a3f09343ecbaf9dc1c9
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=3
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 source=(https://www.musicpd.org/download/$pkgname/${pkgver%.*}/$pkgname-$pkgver.tar.xz{,.sig})
18 sha512sums=('d43d5547134ffb24f2a2972882f6e264c1011a94d1033369d329487f59414d32d9842835afdd05da96fd8ed28f823d2ae2f46d8d8d24b68f3695badca2a9bbb2'
19             'SKIP')
20 b2sums=('709f54ceebd66f703e5b1bf6ff8deb890e484fdc29c0b2198922763e347caac89d6eec5f74101f9fa860436e7493e2b02cc6b1b26e800e783546fe5a0c6e0d8f'
21         'SKIP')
22 validpgpkeys=('0392335A78083894A4301C43236E8A58C6DB4512') # Max Kellermann <max@blarg.de>
25 build() {
26   arch-meson build $pkgname-$pkgver
27   ninja -C build
30 package() {
31   depends+=(
32     libmpdclient libmpdclient.so
33   )
35   DESTDIR="$pkgdir" ninja -C build install
36   install -vDm 644 $pkgname-$pkgver/contrib/mpc-completion.bash "$pkgdir/usr/share/bash-completion/completions/mpc"
37   # the html documentation is not reproducible and only the man page is needed
38   rm -rvf "$pkgdir/usr/share/doc/$pkgname/"{html,contrib/*.bash}