blob: adce528a420fb226ae1d7efe89cd8640c77a4756 (
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
27
28
29
30
31
32
33
|
# Maintainer: Astro Benzene <universebenzene at sina dot com>
_pyname=nestle
pkgname=python-${_pyname}-doc
pkgver=0.2.0
pkgrel=1
pkgdesc="Documentation for Nestle"
arch=('i686' 'x86_64')
url="http://kylebarbary.com/nestle/"
license=('MIT')
makedepends=("python-${_pyname}=${pkgver}" 'python-sphinx-gallery' 'python-corner' 'python-scipy')
source=("https://github.com/kbarbary/nestle/archive/v${pkgver}.tar.gz"
'correct_image_path.patch')
md5sums=('64edb99c551804d6847278a39d0ee183'
'36ac4ed83a6fc6181fb9a2db36363fb8')
prepare() {
cd ${srcdir}/${_pyname}-${pkgver}
patch -Np1 -i "${srcdir}/correct_image_path.patch"
}
build() {
cd ${srcdir}/${_pyname}-${pkgver}/docs
make html
}
package() {
cd ${srcdir}/${_pyname}-${pkgver}/docs/_build
install -d -m755 "${pkgdir}/usr/share/doc/${pkgname%-doc}"
cp -a html "${pkgdir}/usr/share/doc/${pkgname%-doc}"
}
|