contrib/mpdris2/Pkgfile

22 lines
576 B
Plaintext
Raw Normal View History

2019-12-29 11:40:19 +01:00
# Description: MPRIS V2.1 support for mpd
# URL: https://github.com/eonpatapon/mpDris2
# Maintainer: Tim Biermann, tbier at posteo dot de
2019-12-29 21:06:41 +01:00
# Depends on: dbus-python3 python3-gobject python3-mpd2 libnotify python3-mutagen
2019-12-29 11:40:19 +01:00
name=mpdris2
version=0.8
release=1
source=(https://github.com/eonpatapon/mpDris2/archive/$version/$name-$version.tar.gz)
build() {
cd mpDris2-$version
NOCONFIGURE=1 ./autogen.sh
2020-11-03 21:02:20 +01:00
PYTHON=/usr/bin/python3 ./configure \
2019-12-29 11:40:19 +01:00
--prefix=/usr \
--sysconfdir=/etc \
--disable-nls
make
make DESTDIR=$PKG install
rm -r $PKG/usr/{share/doc,lib}
}