blob: f032fd99bee54d0f8a01abd3685d4a09b582c0d7 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
|
# Contributor: Sören Tempel <soeren+alpine@soeren-tempel.net>
# Contributor: Peter Bui <pnutzh4x0r@gmail.com>
# Maintainer: Sören Tempel <soeren+alpine@soeren-tempel.net>
pkgname=ncmpc
pkgver=0.37
pkgrel=1
pkgdesc="Ncurses client for the Music Player Daemon (MPD)"
url="https://www.musicpd.org/clients/ncmpc"
arch="all"
license="GPL-2.0-or-later"
makedepends="glib-dev libmpdclient-dev meson ncurses-dev py3-sphinx boost-dev"
subpackages="$pkgname-doc $pkgname-lang $pkgname-dbg"
source="https://www.musicpd.org/download/ncmpc/0/ncmpc-$pkgver.tar.xz"
build() {
LDFLAGS="$LDFLAGS -lintl" meson \
--prefix=/usr \
--sysconfdir=/etc \
--localstatedir=/var \
--buildtype=plain \
-Dlirc=disabled \
-Dcurses=ncurses \
-Dlyrics_screen=true \
-Dlyrics_plugin_dir=share/$pkgname/lyrics \
. output
ninja -C output
}
check() {
./output/ncmpc --help > /dev/null
}
package() {
DESTDIR="$pkgdir" ninja -C output install
mkdir -p "$pkgdir"/usr/share/$pkgname/lyrics
install -m755 lyrics/* \
"$pkgdir"/usr/share/$pkgname/lyrics
# Remove HTML documentation
rm -rf "$pkgdir"/usr/share/doc/$pkgname/html
}
sha512sums="0077a0e03eecfb097e4e454d12432abcca3ea8bb8fee6af994afea460d8d42bf95a95af12d25906e4853c3c70104784a496f25bc4c9a99f57ca0e13c7f0ced9e ncmpc-0.37.tar.xz"
|