summaryrefslogtreecommitdiffstats
path: root/abs/extra
diff options
context:
space:
mode:
authorBritney Fransen <brfransen@gmail.com>2013-08-22 15:49:44 (GMT)
committerBritney Fransen <brfransen@gmail.com>2013-08-22 15:49:44 (GMT)
commit820ad5cb2cd594b29b561e2f70f1f6bad5b287dd (patch)
tree07f8022cfe56f296597866a801587068f6cba076 /abs/extra
parentb5a972bf8e18d3115788d059bdd8c301a78ec3e5 (diff)
downloadlinhes_pkgbuild-820ad5cb2cd594b29b561e2f70f1f6bad5b287dd.zip
linhes_pkgbuild-820ad5cb2cd594b29b561e2f70f1f6bad5b287dd.tar.gz
linhes_pkgbuild-820ad5cb2cd594b29b561e2f70f1f6bad5b287dd.tar.bz2
pyxdg: python2-xdg initial inclusion. dep of speech-dispatcher.
Diffstat (limited to 'abs/extra')
-rw-r--r--abs/extra/pyxdg/PKGBUILD33
-rw-r--r--abs/extra/pyxdg/__changelog1
2 files changed, 34 insertions, 0 deletions
diff --git a/abs/extra/pyxdg/PKGBUILD b/abs/extra/pyxdg/PKGBUILD
new file mode 100644
index 0000000..7ecc3f8
--- /dev/null
+++ b/abs/extra/pyxdg/PKGBUILD
@@ -0,0 +1,33 @@
+# $Id$
+# Maintainer: Hugo Doria <hugo@archlinux.org>
+# Contributor: Mario A. Vazquez <mario_vazq@hotmail.com>
+
+pkgbase=pyxdg
+pkgname=('python2-xdg')
+pkgver=0.25
+pkgrel=1
+pkgdesc="Python library to access freedesktop.org standards"
+arch=('any')
+url="http://freedesktop.org/Software/pyxdg"
+license=("LGPL")
+makedepends=('python2')
+source=(http://www.freedesktop.org/~takluyver/${pkgbase}-${pkgver}.tar.gz{,.asc})
+sha1sums=('1272ee62b8c3909ac4844a34a95f8b1fb3398af2'
+ 'b5ec82567cc4d7bcf3a151eaf70c42dd3ed5b194')
+
+package_python2-xdg() {
+ depends=('python2')
+ conflicts=('pyxdg')
+ provides=('pyxdg')
+ replaces=('pyxdg')
+
+ cd "${srcdir}/${pkgbase}-${pkgver}"
+ python2 setup.py install --prefix=/usr --root="${pkgdir}"
+}
+
+#package_python-xdg() {
+# depends=('python')
+
+# cd "${srcdir}/${pkgbase}-${pkgver}"
+# python setup.py install --prefix=/usr --root="${pkgdir}" --skip-build --optimize=1
+#}
diff --git a/abs/extra/pyxdg/__changelog b/abs/extra/pyxdg/__changelog
new file mode 100644
index 0000000..9acc2f0
--- /dev/null
+++ b/abs/extra/pyxdg/__changelog
@@ -0,0 +1 @@
+Remove deps for python and building python pkg. Only build for python2