diff --git a/srcpkgs/mpDris2/files/mpDris2/run b/srcpkgs/mpDris2/files/mpDris2/run new file mode 100644 index 00000000000..a3cbb12868b --- /dev/null +++ b/srcpkgs/mpDris2/files/mpDris2/run @@ -0,0 +1,2 @@ +#!/bin/sh +exec mpDris2 \ No newline at end of file diff --git a/srcpkgs/mpDris2/template b/srcpkgs/mpDris2/template new file mode 100644 index 00000000000..bd2a266cd51 --- /dev/null +++ b/srcpkgs/mpDris2/template @@ -0,0 +1,25 @@ +# 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 " +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 +}