PKGBUILDs/alarm/python-sphinx_rtd_theme-043/PKGBUILD

38 lines
1,005 B
Bash
Raw Normal View History

# Maintainer: Johannes Löthberg <johannes@kyriasis.com>
# Contributor: eolianoe <eolianoe [at] gmail [DoT] com>
# Contributor: Romain Schmitz <slopjong .at. slopjong .dot. de>
# ALARM: Kevin Mihelich <kevin@archlinuxarm.org>
# - pre-npm-required version for v5
buildarch=2
pkgname=python-sphinx_rtd_theme-043
pkgver=0.4.3
pkgrel=1
pkgdesc="Python Sphinx Read The Docs Theme"
url='https://github.com/rtfd/sphinx_rtd_theme/'
arch=('any')
license=('MIT')
provides=('python-sphinx_rtd_theme')
replaces=('python-sphinx_rtd_theme')
makedepends=('python-setuptools' 'python2-setuptools')
source=("https://pypi.org/packages/source/s/sphinx_rtd_theme/sphinx_rtd_theme-$pkgver.tar.gz")
sha256sums=('728607e34d60456d736cc7991fd236afb828b21b82f956c5ea75f94c8414040a')
build() {
cd sphinx_rtd_theme-$pkgver
python setup.py build
}
package() {
cd sphinx_rtd_theme-$pkgver
python setup.py install --root="$pkgdir" --optimize=1
install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
}