# Template file for 'mpdscribble'
pkgname=mpdscribble
version=0.25
revision=1
build_style=meson
hostmakedepends="pkg-config"
makedepends="libmpdclient-devel libcurl-devel boost-devel libgcrypt-devel"
short_desc="MPD audio scrobbler (e.g. last.fm)"
maintainer="Georg Schabel <gescha@posteo.de>"
license="GPL-2.0-or-later"
homepage="https://github.com/MusicPlayerDaemon/mpdscribble"
changelog="https://raw.githubusercontent.com/MusicPlayerDaemon/mpdscribble/master/NEWS"
distfiles="https://www.musicpd.org/download/mpdscribble/${version}/mpdscribble-${version}.tar.xz"
checksum=20f89d945bf517c4d68bf77a77a359fdb13842ab1295e8d21eda79be2b5b35ce

conf_files="/etc/${pkgname}.conf"
make_dirs="/var/cache/mpdscribble/ 0755 root root"

post_install() {
	vsv mpdscribble
}
