void-packages/srcpkgs/mpDris2/template

25 lines
744 B
Bash

# Template file for 'mpDris2'
pkgname=mpDris2
version=0.9.1
revision=1
build_style=gnu-configure
hostmakedepends="autoconf automake intltool gettext-devel"
depends="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=d0f0467841e7866310cff44a1063334a9c776a64fd594815d926670b765fbee6
pre_configure() {
NOCONFIGURE=1 ./autogen.sh
}
post_install() {
rm -f ${DESTDIR}/usr/lib/systemd/user/mpDris2.service
vsv mpDris2
vdoc README.md
vsconf src/mpDris2.conf
}