summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 376410232f2c242f67e6f40aeb1c7d52f89e7717 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
# Maintainer: Mohammadreza Abdollahzadeh <morealaz@gmail.com>

pkgname=python-pandas-docs
pkgver=0.18.0
pkgrel=1
pkgdesc="Documentation for Python Pandas module"
makedepends=('unzip')
arch=('any')
url='http://pandas.pydata.org'
license=('BSD')
source=("$pkgname-$pkgver.zip::http://pandas.pydata.org/pandas-docs/stable/pandas.zip")
noextract=("$pkgname-$pkgver.zip")
md5sums=('ca6b5a379d13dc8392d61ec35f529c80')

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