[arch-commits] Commit in (4 files)
Felix Yan
felixonmars at archlinux.org
Thu Oct 25 16:33:13 UTC 2018
Date: Thursday, October 25, 2018 @ 16:33:13
Author: felixonmars
Revision: 399009
addpkg: python-flask-sphinx-themes 1.0.2-1
Added:
python-flask-sphinx-themes/
python-flask-sphinx-themes/repos/
python-flask-sphinx-themes/trunk/
python-flask-sphinx-themes/trunk/PKGBUILD
----------+
PKGBUILD | 24 ++++++++++++++++++++++++
1 file changed, 24 insertions(+)
Added: python-flask-sphinx-themes/trunk/PKGBUILD
===================================================================
--- python-flask-sphinx-themes/trunk/PKGBUILD (rev 0)
+++ python-flask-sphinx-themes/trunk/PKGBUILD 2018-10-25 16:33:13 UTC (rev 399009)
@@ -0,0 +1,24 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgname=python-flask-sphinx-themes
+pkgver=1.0.2
+pkgrel=1
+pkgdesc="Sphinx themes for Flask and related projects"
+url="https://github.com/pallets/flask-sphinx-themes"
+license=('BSD')
+arch=('any')
+depends=('python-sphinx')
+makedepends=('python-setuptools')
+source=("$pkgname-$pkgver.tar.gz::https://github.com/pallets/flask-sphinx-themes/archive/$pkgver.tar.gz")
+sha512sums=('b3cbdca9719b579d4e9644b51e187a87d49e3c82083a8fff649eef74eb7a475bcc0580bcd3012081048bcbbe001ce06f1cccbed39d2f30285cfedb2304f67af3')
+
+build() {
+ cd flask-sphinx-themes-$pkgver
+ python setup.py build
+}
+
+package() {
+ cd flask-sphinx-themes-$pkgver
+ python setup.py install --root="$pkgdir" --optimize=1
+ install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+}
More information about the arch-commits
mailing list