# POWER Maintainer: Alexander Baldeck <alex.bldck@gmail.com>
# Maintainer: Felix Yan <felixonmars@archlinux.org>

pkgname=python-pylons-sphinx-themes
pkgver=1.0.13
pkgrel=5
pkgdesc="Sphinx themes for Pylons Project documentation"
url="https://pylonsproject.org"
license=('BSD')
arch=(any)
depends=('python')
makedepends=('python-setuptools')
source=("https://github.com/Pylons/pylons-sphinx-themes/archive/$pkgver/$pkgname-$pkgver.tar.gz")
sha512sums=('ff7b314b2ad08dddc17d1cef0c41317f57ae547464392cf5e1da33abca90cca4600ee2273f811a522d0443464f26595aff78e30cf3e3172fe912ce5262c4a6ed')

build() {
  cd pylons-sphinx-themes-$pkgver
  python setup.py build
}

package() {
  cd pylons-sphinx-themes-$pkgver
  python setup.py install --root="$pkgdir" --optimize=1
  install -Dm644 LICENSE.txt -t "$pkgdir"/usr/share/licenses/$pkgname/
}
