archrelease: copy trunk to extra-x86_64
[arch-packages.git] / ncmpc / trunk / PKGBUILD
blob8501bb81b521e3b0ac87356cebc72e03731777b9
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>
8 pkgname=ncmpc
9 pkgver=0.47
10 pkgrel=1
11 pkgdesc="Fully featured MPD client which runs in a terminal"
12 arch=(x86_64)
13 url=https://www.musicpd.org/clients/ncmpc/
14 license=(GPL2)
15 depends=(gcc-libs glibc lirc pcre2)
16 makedepends=(boost libmpdclient meson ncurses python-sphinx)
17 optdepends=('python-requests: for lyrics script')
18 options=(debug)
19 source=(https://www.musicpd.org/download/$pkgname/${pkgver%.*}/$pkgname-$pkgver.tar.xz{,.sig})
20 sha512sums=('6c9990ca9a0781eef67fae8b20ceec5fc00177b1db2b08cfdf122dd1f61f87a92030baadcaac154d73ddee622c963481d4e37d46f76a4ef21e51d4f18a6f3e6a'
21             'SKIP')
22 b2sums=('4b9e5bcc435b6064c054ad84000986942a699993e78decb26b73b4f3ec8d261e4e752e11d40ed5bdcbaab260b37f1a59b99708be05ade44973fee3f2b1e6d9d1'
23         'SKIP')
24 validpgpkeys=('0392335A78083894A4301C43236E8A58C6DB4512') # Max Kellermann <max@blarg.de>
26 build() {
27   arch-meson -D lyrics_screen=true -D chat_screen=true build $pkgname-$pkgver
28   ninja -C build
31 package() {
32   depends+=(libmpdclient.so libncursesw.so)
34   DESTDIR="$pkgdir" ninja -C build install