archrelease: copy trunk to extra-x86_64
[arch-packages.git] / ncmpc / trunk / PKGBUILD
blob140b3259756f4feb2a637a008ac638a418ca89e5
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.46
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 source=("https://www.musicpd.org/download/${pkgname}/${pkgver%.*}/${pkgname}-${pkgver}.tar.xz"{,.sig})
19 sha512sums=('34cbb9ff527bfa4d849069694b6d1a1e54c932b64538e799c9ef9b9ccc42ed24932b6bcbf3552af6ce846af6b7399916e1aabc6c79ac564f1c9fe56a33b6332f'
20             'SKIP')
21 b2sums=('e57a931f5a512c543d48a9b6e532c7944e655d28d02fe9ec2b5b41563e2e6a5806924a668ae592f3fee58a2bb04a681fee0903b8046a61ce39a453092dfd8623'
22         'SKIP')
23 validpgpkeys=('0392335A78083894A4301C43236E8A58C6DB4512') # Max Kellermann <max@blarg.de>
25 build() {
26   cd "${pkgname}-${pkgver}"
27   arch-meson -D lyrics_screen=true -D chat_screen=true build
28   ninja -C build
31 package() {
32   depends+=(libmpdclient.so libncursesw.so)
34   cd "${pkgname}-${pkgver}"
35   DESTDIR="${pkgdir}" ninja -C build install