Date: Tuesday, December 22, 2015 @ 20:43:54 Author: demize Revision: 154293
upgpkg: python-sphinx-alabaster-theme 0.7.7-1 Modified: python-sphinx-alabaster-theme/trunk/PKGBUILD ----------+ PKGBUILD | 41 ++++++++++++++++++++++------------------- 1 file changed, 22 insertions(+), 19 deletions(-) Modified: PKGBUILD =================================================================== --- PKGBUILD 2015-12-22 15:27:43 UTC (rev 154292) +++ PKGBUILD 2015-12-22 19:43:54 UTC (rev 154293) @@ -1,40 +1,43 @@ # $Id$ -# Maintainer: +# Maintainer: Johannes Löthberg <[email protected]> # Contributor: xantares pkgbase=python-sphinx-alabaster-theme pkgname=(python-sphinx-alabaster-theme python2-sphinx-alabaster-theme) -pkgver=0.7.6 -pkgrel=2 -arch=(any) +pkgver=0.7.7 +pkgrel=1 + pkgdesc="Modified Kr Sphinx doc theme" url='https://github.com/bitprophet/alabaster' +arch=(any) license=(BSD) + makedepends=(python-setuptools python2-setuptools) -source=("https://github.com/bitprophet/alabaster/archive/${pkgver}.tar.gz") -md5sums=('940d47184c4d67d9e1943ba2e5b15a65') +source=("https://github.com/bitprophet/alabaster/archive/$pkgver.tar.gz") + +md5sums=('4151237e852bdd641ef51eaa8c9f33d9') + build() { - cp -r ${srcdir}/alabaster-${pkgver} ${srcdir}/alabaster-${pkgver}-py2 - - cd "$srcdir"/alabaster-${pkgver} - python setup.py build + cp -r alabaster-"$pkgver" alabaster-"$pkgver"-py2 - cd "$srcdir"/alabaster-${pkgver}-py2 - python2 setup.py build + cd 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 + cd alabaster-"$pkgver" + python setup.py install --root="$pkgdir" --optimize=1 - install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE + 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 + cd alabaster-"$pkgver"-py2 + python2 setup.py install --root="$pkgdir" --optimize=1 - install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE + install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/"$pkgname"/LICENSE } -
