aboutsummaryrefslogtreecommitdiffstats
path: root/community/mpdscribble/APKBUILD
blob: a260d9aa0c3f690995cfbaad1bd3502202a460dd (plain) (blame)
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
# Contributor: Leo <thinkabit.ukim@gmail.com>
# Maintainer:
pkgname=mpdscribble
pkgver=0.23
pkgrel=2
pkgdesc="last.fm client for mpd"
options="!check" # No test target
url="https://github.com/MusicPlayerDaemon/mpdscribble"
arch="all"
license="GPL-2.0-or-later"
makedepends="meson libmpdclient-dev curl-dev libgcrypt-dev boost-dev"
subpackages="$pkgname-doc $pkgname-openrc"
source="https://www.musicpd.org/download/mpdscribble/$pkgver/mpdscribble-$pkgver.tar.xz
	mpdscribble.initd"

build() {
	abuild-meson \
		-Dsystemd=disabled \
		-Dtest=false \
		-Dsyslog=enabled \
		. output
	meson compile ${JOBS:+-j ${JOBS}} -C output
}

package() {
	DESTDIR="$pkgdir" meson install --no-rebuild -C output
	install -D -m755 "$srcdir"/mpdscribble.initd "$pkgdir"/etc/init.d/mpdscribble
}

sha512sums="f924076a8aa201f67ba81e72a44d3dd1c31618bd87e4f75f6b63f7b3814fa08f6ef4f7964b1d518c5f8b68a1f8ba88f867c08ed8b0387157eec8e9f97eb0b825  mpdscribble-0.23.tar.xz
b82d3e5678aba145a5c8d172ebf74960d164e3e934426cc755948d795743bb07158f502705d40c1730a40b6a6d73e84c5792419adaf6ab83ec7c33756f0abb43  mpdscribble.initd"