void-packages/srcpkgs/mpDris2/template

26 lines
768 B
Bash

# Template file for 'mpDris2'
pkgname=mpDris2
version=0.8
revision=1
build_style=gnu-configure
hostmakedepends="autoconf automake intltool gettext-devel"
depends="python3 python3-dbus python3-gobject python3-mpd2 python3-mutagen"
short_desc="Provides MPRIS 2 support to mpd (Music Player Daemon)"
maintainer="Illia Shestakov <ishestakov@airmail.cc>"
license="GPL-3.0-only"
homepage="https://github.com/eonpatapon/mpDris2"
distfiles="https://github.com/eonpatapon/mpDris2/archive/${version}.tar.gz"
checksum=b6b15c1fdddf16a6d74485ad09f56ed353a317e149c37475c00a279186da4391
pre_configure() {
NOCONFIGURE=1 ./autogen.sh
}
post_install() {
rm -f ${DESTDIR}/usr/lib/systemd/user/mpDris2.service
vsv mpDris2
vdoc README.md
vlicense COPYING
vsconf src/mpDris2.conf
}