diff options
author | Xiretza | 2021-07-12 14:27:33 +0200 |
---|---|---|
committer | Xiretza | 2021-07-12 14:27:33 +0200 |
commit | d7408f6be9b4222b658d0676641f8a22b0146f4c (patch) | |
tree | 86af9c0bd8dae3f84933cd010c968ae69b57cb30 | |
download | aur-python-sphinxextensions.tar.gz |
Initial commit
-rw-r--r-- | .SRCINFO | 13 | ||||
-rw-r--r-- | PKGBUILD | 24 |
2 files changed, 37 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..affffe7004bb --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,13 @@ +pkgbase = python-sphinxextensions + pkgdesc = Extensions for the Sphinx documentation tool + pkgver = 0.2.0 + pkgrel = 1 + url = https://github.com/Paebbels/SphinxExtensions + arch = any + license = Apache + makedepends = python-setuptools + depends = python-pyattributes + source = python-sphinxextensions-0.2.0.tar.gz::https://github.com/Paebbels/SphinxExtensions/archive/v0.2.0.tar.gz + sha256sums = 6a0e92eaca61872ac09037609852378d4903b0df3373e845e7d1ef2540f3f2ea + +pkgname = python-sphinxextensions diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..87bc1c6d6507 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,24 @@ +# Maintainer: xiretza <xiretza+aur@xiretza.xyz> + +_pkgname='SphinxExtensions' +pkgname=python-${_pkgname,,} +pkgver=0.2.0 +pkgrel=1 +pkgdesc="Extensions for the Sphinx documentation tool" +arch=(any) +url="https://github.com/Paebbels/SphinxExtensions" +license=('Apache') +depends=('python-pyattributes') +makedepends=('python-setuptools') +source=("$pkgname-$pkgver.tar.gz::$url/archive/v$pkgver.tar.gz") +sha256sums=('6a0e92eaca61872ac09037609852378d4903b0df3373e845e7d1ef2540f3f2ea') + +build() { + cd "$_pkgname-$pkgver" + python setup.py build +} + +package() { + cd "$_pkgname-$pkgver" + python setup.py install --root="$pkgdir/" --optimize=1 --skip-build +} |