blob: ea218a55c7d523a9d2b42124229b56f4f3a344f1 (
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
25
26
|
# Maintainer: Astro Benzene <universebenzene at sina dot com>
_pyname=stsci.tools
pkgname=python-${_pyname}-doc
pkgver=4.1.1
pkgrel=1
pkgdesc="Documentation for STScI utility functions"
arch=('any')
url="https://stscitools.readthedocs.io"
license=('BSD-3-Clause')
makedepends=("python-${_pyname}=${pkgver}" 'python-numpydoc')
source=("https://github.com/spacetelescope/${_pyname}/archive/${pkgver}.tar.gz")
md5sums=('3c5c2e20ba3854556ef70c5ace0a9e8a')
build() {
cd ${srcdir}/${_pyname}-${pkgver}/doc
make html
}
package() {
cd ${srcdir}/${_pyname}-${pkgver}/doc/build
install -Dm644 -t "${pkgdir}/usr/share/licenses/${pkgname}" ../../LICENSE.md
install -d -m755 "${pkgdir}/usr/share/doc/${pkgname%-doc}"
cp -a html "${pkgdir}/usr/share/doc/${pkgname%-doc}"
}
|