Date: Saturday, May 9, 2015 @ 20:50:43 Author: arojas Revision: 133119
New python-sphinx checkdepends Added: python-sphinx-alabaster-theme/ python-sphinx-alabaster-theme/trunk/ python-sphinx-alabaster-theme/trunk/PKGBUILD ----------+ PKGBUILD | 40 ++++++++++++++++++++++++++++++++++++++++ 1 file changed, 40 insertions(+) Added: python-sphinx-alabaster-theme/trunk/PKGBUILD =================================================================== --- python-sphinx-alabaster-theme/trunk/PKGBUILD (rev 0) +++ python-sphinx-alabaster-theme/trunk/PKGBUILD 2015-05-09 18:50:43 UTC (rev 133119) @@ -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.4 +pkgrel=1 +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=('ed0f1f6cba60e930cba5ed45276b5323') + +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 +} + Property changes on: python-sphinx-alabaster-theme/trunk/PKGBUILD ___________________________________________________________________ Added: svn:keywords ## -0,0 +1 ## +Id \ No newline at end of property
