git » pyxdg.git » main » tree

[main] / PKGBUILD

# Maintainer: Lukas Fleischer <lfleischer@archlinux.org>
# Contributor: Hugo Doria <hugo@archlinux.org>
# Contributor: Mario A. Vazquez <mario_vazq@hotmail.com>

pkgbase=pyxdg
pkgname=python-pyxdg
pkgver=0.28
pkgrel=3
pkgdesc="Python library to access freedesktop.org standards"
arch=('any')
url="http://freedesktop.org/Software/pyxdg"
license=("LGPL")
depends=('python')
conflicts=('python-xdg')
provides=('python-xdg')
replaces=('python-xdg<0.26-5')
makedepends=('python-setuptools')
source=("https://files.pythonhosted.org/packages/source/${pkgbase::1}/${pkgbase}/${pkgbase}-${pkgver}.tar.gz")
b2sums=('36e2f6ca14f08a2fb7018168c2620b8203f0a601bd4931b4b1d5131b3fa3241fdd82e8ffa5e915c56d8d4773ddbd9eacbf33e4e01e458149c73046041467ca15')
validpgpkeys=('6391296E3F25C0A721C1F1AFAF88B3AC5DECB224') # Thomas Kluyver

build() {
  cd "${srcdir}/${pkgbase}-${pkgver}"
  python setup.py build
}

package() {

  cd "${srcdir}/${pkgbase}-${pkgver}"
  python setup.py install --prefix=/usr --root="${pkgdir}" --skip-build --optimize=1
}