summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 545efff17019d2efab84f9f657a72792334dd67e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
# Maintainer: Miguel de Val-Borro <miguel dot deval at gmail dot com>
# Contributor: piggy1983
# Contributor: Patrice Peterson <runiq at archlinux dot us>

pkgname=python-numpy-doc
pkgver=1.17.0
pkgrel=2
pkgdesc="Documentation for NumPy"
makedepends=('unzip')
arch=('any')
url='https://docs.scipy.org'
license=('BSD')
source=("$pkgname-$pkgver.zip::http://docs.scipy.org/doc/numpy-${pkgver}/numpy-html-${pkgver}.zip")
noextract=("$pkgname-$pkgver.zip")
md5sums=('9c2d7630b7f078cac07ae7796882b92f')

package()
{
  install -d "$pkgdir/usr/share/doc/python-numpy/html"
  unzip -qd "$pkgdir/usr/share/doc/python-numpy/html" "$srcdir/$pkgname-$pkgver.zip"
  find "$pkgdir/usr/share/doc/python-numpy/html" -type d -exec chmod 755 \{\} \;
  find "$pkgdir/usr/share/doc/python-numpy/html" -type f -exec chmod 644 \{\} \;
}