diff options
-rw-r--r-- | .SRCINFO | 19 | ||||
-rw-r--r-- | PKGBUILD | 28 |
2 files changed, 47 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..1a5c12d43b7d --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,19 @@ +# Generated by mksrcinfo v8 +# Sun Sep 4 22:39:16 UTC 2016 +pkgbase = sphinxcontrib-programoutput + pkgdesc = Sphinx extension to include program output + pkgver = 0.8 + pkgrel = 1 + url = https://bitbucket.org/birkenfeld/sphinx-contrib + arch = any + license = BSD + makedepends = python + depends = python + depends = python-sphinx + provides = sphinxcontrib-programoutput + options = !emptydirs + source = https://pypi.python.org/packages/source/s/sphinxcontrib-programoutput/sphinxcontrib-programoutput-0.8.tar.gz + md5sums = bb0be17ef13f268378b2af51ff413c58 + +pkgname = sphinxcontrib-programoutput + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..21d797145a16 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,28 @@ +# Maintainer: Josh VanderLinden <arch@cloudlery.com> +pkgname=sphinxcontrib-programoutput +pkgver=0.8 +pkgrel=1 +pkgdesc="Sphinx extension to include program output" +arch=('any') +url="https://bitbucket.org/birkenfeld/sphinx-contrib" +license=('BSD') +depends=('python' 'python-sphinx') +makedepends=('python') +provides=('sphinxcontrib-programoutput') +options=(!emptydirs) +source=( + "https://pypi.python.org/packages/source/s/${pkgname}/${pkgname}-${pkgver}.tar.gz" +) +md5sums=('bb0be17ef13f268378b2af51ff413c58') + +package() { + cd "$srcdir/$pkgname-$pkgver" + + python setup.py install --root="$pkgdir/" --optimize=1 + + [ $(command -v python2) ] && python2 setup.py install --root="$pkgdir/" --optimize=1 + + install -Dm644 LICENSE ${pkgdir}/usr/share/licenses/${pkgname}/LICENSE +} + +# vim:set ts=2 sw=2 et: |