blob: a4bae0ee2ee4c6acb6f7992040e74d1ca93d6998 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
|
# Maintainer: Erich Eckner <arch at eckner dot net>
pkgname=python-sphinx-better-theme
_pkgname=sphinx-better-theme
pkgver=0.13
pkgrel=3
pkgdesc='theme for Sphinx that looks nice'
arch=('any')
url='https://sphinx-better-theme.readthedocs.io/'
license=('custom')
depends=(
'python>=3.8'
'python<3.9'
)
source=("${_pkgname}-${pkgver}.tar.gz::https://github.com/irskep/${_pkgname}/archive/v${pkgver}.tar.gz")
sha512sums=('ad9b52205b29a410c918f789e5b4d110ca6bb654da18203206504efef7f16228b93b764cf14d9cca1a89d1850a4327b51f1f6fe7219d5968b5e51e5cf1935f42')
build() {
cd "${srcdir}/${_pkgname}-${pkgver}"
python setup.py build
}
package() {
cd "${srcdir}/${_pkgname}-${pkgver}"
python setup.py install --root="${pkgdir}/" --optimize=1
install -D LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
}
|