summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorJörg Thalheim2015-06-11 15:46:49 +0200
committerJörg Thalheim2015-06-11 15:46:49 +0200
commit35867ec9c45322e7892e83a1595fd2d2034c2a4d (patch)
treec3cb7ba61d9c4ce4249b314f2705a821987e3ee6
downloadaur-python2-mpd2-git.tar.gz
Initial Import
-rw-r--r--.SRCINFO18
-rw-r--r--PKGBUILD29
2 files changed, 47 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..48aae23a453
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,18 @@
+pkgbase = python2-mpd2-git
+ pkgdesc = Python2 MPD client library
+ pkgver = 20130625
+ pkgrel = 1
+ url = http://github.com/Mic92/python-mpd2
+ arch = any
+ license = GPL3
+ makedepends = git
+ makedepends = python2-distribute
+ depends = python2
+ provides = python2-mpd2
+ conflicts = python2-mpd2
+ conflicts = python2-mpd
+ source = git+https://github.com/Mic92/python-mpd2.git
+ sha1sums = SKIP
+
+pkgname = python2-mpd2-git
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..fd301a9ccd0
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,29 @@
+# Maintainer: Jörg Thalheim <joerg@higgsboson.tk
+# Contributor: Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
+# Contributor: Peter Richard Lewis <plewis@aur.archlinux.org>
+# Contributor: Wieland Hoffmann <the_mineo@web.de>
+# Contributor: stonecrest <stonecrest[at]gmail[dot]com>
+
+pkgname='python2-mpd2-git'
+pkgrel=1
+pkgver=20130625
+pkgdesc="Python2 MPD client library"
+depends=('python2')
+conflicts=('python2-mpd2' 'python2-mpd')
+provides=('python2-mpd2')
+url="http://github.com/Mic92/python-mpd2"
+makedepends=('git' 'python2-distribute')
+license=('GPL3')
+arch=('any')
+source=("git+https://github.com/Mic92/python-mpd2.git")
+sha1sums=('SKIP')
+
+pkgver() {
+ cd "$srcdir/python-mpd2"
+ git log -1 --format='%cd' --date=short | tr -d -- '-'
+}
+
+package() {
+ cd "$srcdir/python-mpd2"
+ python2 setup.py install --root="$pkgdir/" --optimize=1
+}