blob: 667ad713cc4226c1bf46587134aee2212a84e32d (
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
|
# Maintainer: Daniel Bermond <dbermond@archlinux.org>
pkgname=python-sphinx-glpi-theme
pkgver=0.3
pkgrel=1
pkgdesc='A Sphinx theme based on readthedocs.org one'
arch=('any')
url='https://github.com/glpi-project/sphinx_glpi_theme/'
license=('MIT')
depends=('python')
makedepends=('python-setuptools')
source=("https://github.com/glpi-project/sphinx_glpi_theme/archive/${pkgver}/${pkgname}-${pkgver}.tar.gz")
sha256sums=('c753534f6a0f9c0a6ac622e60f38f08ff7e234be1d27c97e0604ad19192b0af5')
build() {
cd "sphinx_glpi_theme-${pkgver}"
python setup.py build
}
package() {
cd "sphinx_glpi_theme-${pkgver}"
PYTHONHASHSEED='0' python setup.py install --root="$pkgdir" --skip-build --optimize='1'
install -D -m644 LICENSE -t "${pkgdir}/usr/share/licenses/${pkgname}"
}
|