[arch-commits] Commit in python-sphinx-alabaster-theme/repos (2 files)

Bartłomiej Piotrowski bpiotrowski at archlinux.org
Sat Dec 24 17:38:40 UTC 2016


    Date: Saturday, December 24, 2016 @ 17:38:38
  Author: bpiotrowski
Revision: 201661

archrelease: copy trunk to community-staging-any

Added:
  python-sphinx-alabaster-theme/repos/community-staging-any/
  python-sphinx-alabaster-theme/repos/community-staging-any/PKGBUILD
    (from rev 201660, python-sphinx-alabaster-theme/trunk/PKGBUILD)

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

Copied: python-sphinx-alabaster-theme/repos/community-staging-any/PKGBUILD (from rev 201660, python-sphinx-alabaster-theme/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD	                        (rev 0)
+++ community-staging-any/PKGBUILD	2016-12-24 17:38:38 UTC (rev 201661)
@@ -0,0 +1,43 @@
+# $Id$
+# Maintainer: Johannes Löthberg <johannes at kyriasis.com>
+# Contributor: xantares
+
+pkgbase=python-sphinx-alabaster-theme
+pkgname=(python-sphinx-alabaster-theme python2-sphinx-alabaster-theme)
+pkgver=0.7.9
+pkgrel=2
+
+pkgdesc="Sphinx default theme"
+url='https://github.com/bitprophet/alabaster'
+arch=('any')
+license=('custom:BSD')
+
+makedepends=('python-setuptools' 'python2-setuptools')
+
+source=("https://github.com/bitprophet/alabaster/archive/$pkgver.tar.gz")
+
+md5sums=('efcded08511153c141385299a0121f5a')
+
+build() {
+	cp -r alabaster-"$pkgver" alabaster-"$pkgver"-py2
+
+	cd alabaster-"$pkgver"
+	python setup.py build
+
+	cd "$srcdir"/alabaster-"$pkgver"-py2
+	python2 setup.py build
+}
+
+package_python-sphinx-alabaster-theme() {
+	cd alabaster-"$pkgver"
+	python setup.py install --root="$pkgdir" --optimize=1
+
+	install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/"$pkgname"/LICENSE
+}
+
+package_python2-sphinx-alabaster-theme() {
+	cd alabaster-"$pkgver"-py2
+	python2 setup.py install --root="$pkgdir" --optimize=1
+
+	install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/"$pkgname"/LICENSE
+}



More information about the arch-commits mailing list