Date: Saturday, February 19, 2022 @ 11:02:11 Author: dvzrv Revision: 437742
archrelease: copy trunk to testing-x86_64 Added: mpc/repos/testing-x86_64/ mpc/repos/testing-x86_64/PKGBUILD (from rev 437741, mpc/trunk/PKGBUILD) ----------+ PKGBUILD | 38 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 38 insertions(+) Copied: mpc/repos/testing-x86_64/PKGBUILD (from rev 437741, mpc/trunk/PKGBUILD) =================================================================== --- testing-x86_64/PKGBUILD (rev 0) +++ testing-x86_64/PKGBUILD 2022-02-19 11:02:11 UTC (rev 437742) @@ -0,0 +1,38 @@ +# Maintainer: David Runge <dv...@archlinux.org> +# Contributor: Gaetan Bisson <bis...@archlinux.org> +# Contributor: Angel Velasquez <an...@archlinux.org> +# Contributor: Andrea Scarpino <and...@archlinux.org> +# Contributor: Alexander Fehr <pizzapunk gmail com> +# Contributor: Link Dupont <l...@subpop.net> + +pkgname=mpc +pkgver=0.34 +pkgrel=2 +pkgdesc="Minimalist command line interface to MPD" +arch=(x86_64) +url="https://www.musicpd.org/clients/mpc/" +license=(GPL2) +depends=(glibc) +makedepends=(libmpdclient meson python-sphinx rsync) +options=(debug) +source=("https://www.musicpd.org/download/${pkgname}/${pkgver%.*}/${pkgname}-${pkgver}.tar.xz"{,.sig}) +sha512sums=('d43d5547134ffb24f2a2972882f6e264c1011a94d1033369d329487f59414d32d9842835afdd05da96fd8ed28f823d2ae2f46d8d8d24b68f3695badca2a9bbb2' + 'SKIP') +b2sums=('709f54ceebd66f703e5b1bf6ff8deb890e484fdc29c0b2198922763e347caac89d6eec5f74101f9fa860436e7493e2b02cc6b1b26e800e783546fe5a0c6e0d8f' + 'SKIP') +validpgpkeys=('0392335A78083894A4301C43236E8A58C6DB4512') # Max Kellermann <m...@blarg.de> + + +build() { + arch-meson build $pkgname-$pkgver + ninja -C build +} + +package() { + depends+=(libmpdclient.so) + + DESTDIR="$pkgdir" ninja -C build install + install -vDm 644 $pkgname-$pkgver/contrib/mpc-completion.bash "$pkgdir/usr/share/bash-completion/completions/mpc" + # the html documentation is not reproducible and only the man page is needed + rm -rvf "$pkgdir/usr/share/doc/$pkgname/"{html,contrib/*.bash} +}