summaryrefslogtreecommitdiffstats
path: root/abs/extra/pyxdg/PKGBUILD
blob: 7ecc3f81592913525b5c8001e0b015b1368614c1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
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
#}