mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-11-18 22:54:00 +00:00
32 lines
1 KiB
Bash
32 lines
1 KiB
Bash
# 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
|
|
|
|
buildarch=28
|
|
|
|
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
|
|
}
|