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: damir <damir@archlinux.org>
6 # Contributor: Daniel Bainton <dpb [at] backarrow.org>
11 pkgdesc="Fully featured MPD client which runs in a terminal"
13 url=https://www.musicpd.org/clients/ncmpc/
15 depends=(gcc-libs glibc lirc pcre2)
16 makedepends=(boost libmpdclient meson ncurses python-sphinx)
17 optdepends=('python-requests: for lyrics script')
19 source=(https://www.musicpd.org/download/$pkgname/${pkgver%.*}/$pkgname-$pkgver.tar.xz{,.sig})
20 sha512sums=('6c9990ca9a0781eef67fae8b20ceec5fc00177b1db2b08cfdf122dd1f61f87a92030baadcaac154d73ddee622c963481d4e37d46f76a4ef21e51d4f18a6f3e6a'
22 b2sums=('4b9e5bcc435b6064c054ad84000986942a699993e78decb26b73b4f3ec8d261e4e752e11d40ed5bdcbaab260b37f1a59b99708be05ade44973fee3f2b1e6d9d1'
24 validpgpkeys=('0392335A78083894A4301C43236E8A58C6DB4512') # Max Kellermann <max@blarg.de>
27 arch-meson -D lyrics_screen=true -D chat_screen=true build $pkgname-$pkgver
32 depends+=(libmpdclient.so libncursesw.so)
34 DESTDIR="$pkgdir" ninja -C build install