# Description: Visually (c)lean, responsive, configurable theme for Sphinx.
# URL:         https://alabaster.readthedocs.io/
# Maintainer:  John Vogel, jvogel4 at stny dot rr dot com
# Depends on:  python3-setuptools

name=python3-alabaster
version=0.7.12
release=1
source=(https://github.com/bitprophet/${name#*-}/archive/$version/${name#*-}-$version.tar.gz)

build() {
	cd ${name#*-}-$version

	/usr/bin/python3 setup.py build
	/usr/bin/python3 setup.py install --prefix=/usr --root=$PKG --optimize=1

	find $PKG -perm -g+w | xargs chmod g-w
}
