blob: a8fe40ef772449b0432bdd4b60cb03822e8588b4 (
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
|
# 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.48
pkgrel=0
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
lirc-dev pcre2-dev"
subpackages="$pkgname-doc $pkgname-lang $pkgname-dbg"
source="https://www.musicpd.org/download/ncmpc/0/ncmpc-$pkgver.tar.xz"
build() {
LDFLAGS="$LDFLAGS -lintl" \
abuild-meson \
-Dlirc=enabled \
-Dcurses=ncurses \
-Dlyrics_screen=true \
-Dlyrics_plugin_dir=share/$pkgname/lyrics \
-Dhtml_manual=false \
. output
meson compile ${JOBS:+-j ${JOBS}} -C output
}
check() {
meson test --no-rebuild --print-errorlogs -C output
}
package() {
DESTDIR="$pkgdir" meson install --no-rebuild -C output
mkdir -p "$pkgdir"/usr/share/$pkgname/lyrics
install -m755 lyrics/* \
"$pkgdir"/usr/share/$pkgname/lyrics
}
sha512sums="
71739fefe696402d4a594a0c931bae0d6fc26f2b7203c51b3d6664c703276ad55f32ea247e1100224a3072386b6de067c1c2e43aa8b6cfac564f7f215ec11f7b ncmpc-0.48.tar.xz
"
|