upgpkg: ufw 0.36.2-1
[ArchLinux/community.git] / python-sphinx-typlog-theme / trunk / PKGBUILD
blobcc625df1007679f52adb32d991269c05c90d1e07
1 # Maintainer: Filipe LaĆ­ns (FFY00) <lains@archlinux.org>
3 _pkgname=sphinx-typlog-theme
4 pkgname=python-$_pkgname
5 _commit=f8f82b66e9c4ec9522fc08fdb77c0ae21500e12a
6 pkgver=0.8.0
7 pkgrel=6
8 pkgdesc='A sphinx theme by Typlog'
9 arch=('any')
10 url='https://github.com/typlog/sphinx-typlog-theme'
11 license=('custom:BSD-3-Clause')
12 makedepends=('python-setuptools')
13 source=("$pkgname-$pkgver.tar.gz::$url/archive/$_commit.tar.gz")
14 sha512sums=('b2d2b4df4b69de333c82025ef3084016fe4ca7b67226dc3c230451affee24a75045db2962ec9080ce3748bbab5a47037bf8fb665441fda9e8adf0343ee066d05')
16 build() {
17   cd $_pkgname-$_commit
19   python setup.py build
22 package() {
23   cd $_pkgname-$_commit
25   python setup.py install --root="$pkgdir" --optimize=1 --skip-build
27   install -Dm 644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
30 # vim:set ts=2 sw=2 et: