mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2025-01-17 23:34:07 +00:00
added community/python-sphinx_rtd_theme
This commit is contained in:
parent
a8f567d120
commit
7a448cb8a5
1 changed files with 30 additions and 0 deletions
30
community/python-sphinx_rtd_theme/PKGBUILD
Normal file
30
community/python-sphinx_rtd_theme/PKGBUILD
Normal file
|
@ -0,0 +1,30 @@
|
|||
# Maintainer: Johannes Löthberg <johannes@kyriasis.com>
|
||||
# Maintainer: Daniel M. Capella <polyzen@archlinux.org>
|
||||
# Contributor: eolianoe <eolianoe [at] gmail [DoT] com>
|
||||
# Contributor: Romain Schmitz <slopjong .at. slopjong .dot. de>
|
||||
|
||||
# ALARM: Kevin Mihelich <kevin@archlinuxarm.org>
|
||||
# - makedepend on python2 for node module builds
|
||||
|
||||
pkgname=python-sphinx_rtd_theme
|
||||
pkgver=0.5.0
|
||||
pkgrel=1
|
||||
pkgdesc='Read the Docs theme for Sphinx'
|
||||
arch=('any')
|
||||
url=https://github.com/readthedocs/sphinx_rtd_theme
|
||||
license=('MIT')
|
||||
depends=('python-setuptools' 'python-sphinx')
|
||||
makedepends=('npm' 'python2')
|
||||
source=("$url/archive/$pkgver/sphinx_rtd_theme-$pkgver.tar.gz")
|
||||
sha512sums=('e5d3f653649f10bcbb953fa18fe79f2b8663da205cc6c6d4ee702789b86de19ac525065b214e3e419e0a34feda35e54b3abd5e82b2a5e657821675125dc9dfdc')
|
||||
|
||||
build() {
|
||||
cd sphinx_rtd_theme-$pkgver
|
||||
python setup.py build
|
||||
}
|
||||
|
||||
package() {
|
||||
cd sphinx_rtd_theme-$pkgver
|
||||
python setup.py install --root="$pkgdir" --optimize=1 --skip-build
|
||||
install -Dm644 -t "$pkgdir"/usr/share/licenses/$pkgname LICENSE
|
||||
}
|
Loading…
Reference in a new issue