diff options
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..35fdfe93671f --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,33 @@ +# Maintainer: Pellegrino Prevete <pellegrinoprevete@gmail.com> +# Contributor: Daniel M. Capella <polyzen@archlinux.org> + +_name=sphinxcontrib-devhelp +pkgname=python2-$_name +pkgver=1.0.2 +pkgrel=6 +pkgdesc='Sphinx extension which outputs Devhelp document' +arch=('any') +url=https://github.com/sphinx-doc/sphinxcontrib-devhelp +license=('BSD') +makedepends=('python2-setuptools') +checkdepends=('python2-pytest' 'python2-sphinx') +source=("https://files.pythonhosted.org/packages/source/${_name::1}/$_name/$_name-$pkgver.tar.gz") +sha256sums=('ff7f1afa7b9642e7060379360a67e9c41e8f3121f2ce9164266f61b9f4b338e4') + +build() { + cd $_name-$pkgver + python2 setup.py build +} + +# check() { +# cd $_name-$pkgver +# pytest2 +# } + +package() { + cd $_name-$pkgver + python2 setup.py install --root="$pkgdir" --optimize=1 --skip-build + install -Dm644 -t "$pkgdir"/usr/share/licenses/$pkgname LICENSE +} + +# vim:set ts=2 sw=2 et: |