archrelease: copy trunk to testing-x86_64
[arch-packages.git] / ncmpc / trunk / PKGBUILD
blobe0c0590f3b32f8aa9c767186a1a4fdd9d9f73351
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.48
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=(
16   gcc-libs
17   glibc
18   lirc
19   pcre2
21 makedepends=(
22   boost
23   libmpdclient
24   meson
25   ncurses
26   python-sphinx
28 optdepends=(
29   'python-beautifulsoup4: for lyrics scripts'
30   'python-requests: for lyrics scripts'
32 source=(https://www.musicpd.org/download/$pkgname/${pkgver%.*}/$pkgname-$pkgver.tar.xz{,.sig})
33 sha512sums=('71739fefe696402d4a594a0c931bae0d6fc26f2b7203c51b3d6664c703276ad55f32ea247e1100224a3072386b6de067c1c2e43aa8b6cfac564f7f215ec11f7b'
34             'SKIP')
35 b2sums=('ee25298af9d50eff646d74aa8908358a3df7b5ca7cf0666b6d3d31027e66d1219c2a48c5097e160d728db2965e2113a0915accac0d97f246d6e75152a2c9a1b3'
36         'SKIP')
37 validpgpkeys=('0392335A78083894A4301C43236E8A58C6DB4512') # Max Kellermann <max@blarg.de>
39 build() {
40   arch-meson -D lyrics_screen=true -D chat_screen=true build $pkgname-$pkgver
41   meson compile -C build
44 check() {
45   meson test -C build --print-errorlogs
47 package() {
48   depends+=(
49     libmpdclient libmpdclient.so
50     ncurses libncursesw.so
51   )
53   meson install -C build --destdir "$pkgdir"