diff options
author | Thomas Weißschuh | 2012-06-25 17:51:55 +0000 |
---|---|---|
committer | Thomas Weißschuh | 2012-06-25 17:51:55 +0000 |
commit | d7eb2afd8af57aae3dd0d4d878a289905c27cda0 (patch) | |
tree | 10b9c3d6c2ba6041aa2b55a22dab8dfab49250a4 | |
download | aur-d7eb2afd8af57aae3dd0d4d878a289905c27cda0.tar.gz |
add mpdris2
-rw-r--r-- | .SRCINFO | 19 | ||||
-rw-r--r-- | PKGBUILD | 26 |
2 files changed, 45 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..6bc7436bfb5f --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,19 @@ +pkgbase = mpdris2 + pkgdesc = MPRIS2 support for MPD + pkgver = 0.2 + pkgrel = 1 + url = https://github.com/eonpatapon/mpDris2 + arch = x86_64 + arch = i686 + license = GPL3 + makedepends = intltool + depends = mpd + depends = dbus-python + depends = python2-gobject + depends = python2 + depends = python-mpd + source = https://github.com/downloads/eonpatapon/mpDris2/mpDris2-0.2.tar.gz + sha512sums = 280f0ae49fac9defc90a5e9a5bec11239464568b01eb97870c97ad1ddc86c4f6ae933d924a0d15000b24cd2988124bbb1ca94e04c4fa6c26b70ef0e2bd3320b3 + +pkgname = mpdris2 + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..5704377777b1 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,26 @@ +# Maintainer: Thomas Weißschuh <thomas_weissschuh lavabit com> + +pkgname=mpdris2 +pkgver=0.2 +pkgrel=1 +pkgdesc="MPRIS2 support for MPD" +url="https://github.com/eonpatapon/mpDris2" +arch=('x86_64' 'i686') +license=('GPL3') +depends=('mpd' 'dbus-python' 'python2-gobject' 'python2' 'python-mpd') +makedepends=('intltool') +source=("https://github.com/downloads/eonpatapon/mpDris2/mpDris2-${pkgver}.tar.gz") + +build() { + cd "${srcdir}/mpDris2-${pkgver}" + ./autogen.sh + ./configure --prefix=/usr --sysconfdir=/etc + make + sed -i "1s/python/python2/" "src/mpDris2" +} + +package() { + cd "${srcdir}/mpDris2-${pkgver}" + make DESTDIR="$pkgdir" install +} +sha512sums=('280f0ae49fac9defc90a5e9a5bec11239464568b01eb97870c97ad1ddc86c4f6ae933d924a0d15000b24cd2988124bbb1ca94e04c4fa6c26b70ef0e2bd3320b3') |