diff options
author | Joost Bremmer | 2016-11-15 16:56:59 +0100 |
---|---|---|
committer | Joost Bremmer | 2016-11-15 16:56:59 +0100 |
commit | eb8a29d2216524a6ab46a5e4caae048b7ec3dfd9 (patch) | |
tree | ff0a7a20f501baf784e7f9cd05f80da501fdbd52 | |
download | aur-eb8a29d2216524a6ab46a5e4caae048b7ec3dfd9.tar.gz |
Initial commit
-rw-r--r-- | .SRCINFO | 19 | ||||
-rwxr-xr-x | PKGBUILD | 33 |
2 files changed, 52 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..266e91d45cfb --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,19 @@ +pkgbase = mpdris2-py3 + pkgdesc = MPRIS2 support for MPD using python 3 + pkgver = 0.7 + pkgrel = 1 + url = https://github.com/eonpatapon/mpDris2 + arch = any + license = GPL3 + makedepends = intltool + depends = python-dbus + depends = python-mpd2 + optdepends = mutagen: read covers from music files + optdepends = python-gobject: Gnome notifications and media keys + provides = mpdris2 + conflicts = mpdris2 + source = https://github.com/eonpatapon/mpDris2/archive/0.7.tar.gz + sha256sums = 41fc24128e13d4d2b58095c8496357079544fb6a52caca234690a6c265e6ba24 + +pkgname = mpdris2-py3 + diff --git a/PKGBUILD b/PKGBUILD new file mode 100755 index 000000000000..3b09d30b6b17 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,33 @@ +# Maintainer: Joost Bremmer <toost.b@gmail.com> +# Contributor: Thomas Weißschuh <thomas t-8ch de> + +pkgname=mpdris2-py3 +pkgver=0.7 +pkgrel=1 +pkgdesc="MPRIS2 support for MPD using python 3" +url="https://github.com/eonpatapon/mpDris2" +arch=('any') +license=('GPL3') +depends=('python-dbus' 'python-mpd2') +provides=('mpdris2') +conflicts=('mpdris2') +makedepends=('intltool') +optdepends=( + 'mutagen: read covers from music files' + 'python-gobject: Gnome notifications and media keys' +) +source=("https://github.com/eonpatapon/mpDris2/archive/${pkgver}.tar.gz") +sha256sums=('41fc24128e13d4d2b58095c8496357079544fb6a52caca234690a6c265e6ba24') + +build() { + cd "${srcdir}/mpDris2-${pkgver}" + ./autogen.sh --prefix=/usr --sysconfdir=/etc + make +} + +package() { + cd "${srcdir}/mpDris2-${pkgver}" + make DESTDIR="$pkgdir" install +} + +# vim: set ts=2 sw=2 et: |