[arch-commits] Commit in pyxdg/repos (testing-any testing-any/PKGBUILD)
Eric Bélanger
eric at archlinux.org
Mon Jul 2 21:59:14 UTC 2012
Date: Monday, July 2, 2012 @ 17:59:13
Author: eric
Revision: 162889
archrelease: copy trunk to testing-any
Added:
pyxdg/repos/testing-any/
pyxdg/repos/testing-any/PKGBUILD
(from rev 162888, pyxdg/trunk/PKGBUILD)
----------+
PKGBUILD | 32 ++++++++++++++++++++++++++++++++
1 file changed, 32 insertions(+)
Copied: pyxdg/repos/testing-any/PKGBUILD (from rev 162888, pyxdg/trunk/PKGBUILD)
===================================================================
--- testing-any/PKGBUILD (rev 0)
+++ testing-any/PKGBUILD 2012-07-02 21:59:13 UTC (rev 162889)
@@ -0,0 +1,32 @@
+# $Id$
+# Maintainer: Hugo Doria <hugo at archlinux.org>
+# Contributor: Mario A. Vazquez <mario_vazq at hotmail.com>
+
+pkgbase=pyxdg
+pkgname=('python2-xdg' 'python-xdg')
+pkgver=0.20
+pkgrel=1
+pkgdesc="Python library to access freedesktop.org standards"
+arch=('any')
+url="http://freedesktop.org/Software/pyxdg"
+license=("LGPL")
+makedepends=('python2' 'python')
+source=("http://www.freedesktop.org/~takluyver/${pkgbase}-${pkgver}.tar.gz")
+sha1sums=('fdb6237428b18019787babe12dfa1860b38da02e')
+
+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}"
+}
More information about the arch-commits
mailing list