[arch-commits] Commit in python-sphinx-alabaster-theme/repos (2 files)
Evangelos Foutras
foutrelis at archlinux.org
Sat Sep 19 16:44:49 UTC 2015
Date: Saturday, September 19, 2015 @ 18:44:49
Author: foutrelis
Revision: 140990
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 140989, python-sphinx-alabaster-theme/trunk/PKGBUILD)
----------+
PKGBUILD | 40 ++++++++++++++++++++++++++++++++++++++++
1 file changed, 40 insertions(+)
Copied: python-sphinx-alabaster-theme/repos/community-staging-any/PKGBUILD (from rev 140989, python-sphinx-alabaster-theme/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD (rev 0)
+++ community-staging-any/PKGBUILD 2015-09-19 16:44:49 UTC (rev 140990)
@@ -0,0 +1,40 @@
+# $Id$
+# Maintainer:
+# Contributor: xantares
+
+pkgbase=python-sphinx-alabaster-theme
+pkgname=(python-sphinx-alabaster-theme python2-sphinx-alabaster-theme)
+pkgver=0.7.6
+pkgrel=2
+arch=(any)
+pkgdesc="Modified Kr Sphinx doc theme"
+url='https://github.com/bitprophet/alabaster'
+license=(BSD)
+makedepends=(python-setuptools python2-setuptools)
+source=("https://github.com/bitprophet/alabaster/archive/${pkgver}.tar.gz")
+md5sums=('940d47184c4d67d9e1943ba2e5b15a65')
+
+build() {
+ cp -r ${srcdir}/alabaster-${pkgver} ${srcdir}/alabaster-${pkgver}-py2
+
+ cd "$srcdir"/alabaster-${pkgver}
+ python setup.py build
+
+ cd "$srcdir"/alabaster-${pkgver}-py2
+ python2 setup.py build
+}
+
+package_python-sphinx-alabaster-theme() {
+ cd "$srcdir"/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 "$srcdir"/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