[arch-commits] Commit in (4 files)

Levente Polyak anthraxx at archlinux.org
Fri Sep 13 17:09:33 UTC 2019


    Date: Friday, September 13, 2019 @ 17:09:33
  Author: anthraxx
Revision: 510367

addpkg: python-pallets-sphinx-themes 1.2.2-1

Added:
  python-pallets-sphinx-themes/
  python-pallets-sphinx-themes/repos/
  python-pallets-sphinx-themes/trunk/
  python-pallets-sphinx-themes/trunk/PKGBUILD

----------+
 PKGBUILD |   28 ++++++++++++++++++++++++++++
 1 file changed, 28 insertions(+)

Added: python-pallets-sphinx-themes/trunk/PKGBUILD
===================================================================
--- python-pallets-sphinx-themes/trunk/PKGBUILD	                        (rev 0)
+++ python-pallets-sphinx-themes/trunk/PKGBUILD	2019-09-13 17:09:33 UTC (rev 510367)
@@ -0,0 +1,28 @@
+# Maintainer: Levente Polyak <anthraxx[at]archlinux[dot]org>
+
+pkgname=python-pallets-sphinx-themes
+_pyname=${pkgname/python-/}
+pkgver=1.2.2
+pkgrel=1
+pkgdesc='Sphinx themes for Pallets and related projects'
+url='https://github.com/pallets/pallets-sphinx-themes'
+arch=('any')
+license=('BSD')
+depends=('python' 'python-sphinx')
+makedepends=('python-setuptools')
+source=(https://github.com/pallets/pallets-sphinx-themes/archive/${pkgver}/${_pyname}-${pkgver}.tar.gz)
+sha512sums=('3e4a1c278179e1595b40541eeabf9d2e642d5693d802a7e775829d96b8ed1031ebb08b608c688e8ec9e6a9c41f72523006a77948f93f938f265c5da26eb7d478')
+
+build() {
+  cd ${_pyname}-${pkgver}
+  python setup.py build
+}
+
+package() {
+  cd ${_pyname}-${pkgver}
+  python setup.py install -O1 --root="${pkgdir}" --skip-build
+  install -Dm 644 LICENSE.rst -t "${pkgdir}/usr/share/licenses/${pkgname}"
+  install -Dm 644 README.rst -t "${pkgdir}/usr/share/doc/${pkgname}"
+}
+
+# vim: ts=2 sw=2 et:



More information about the arch-commits mailing list