diff options
author | Mohammadreza Abdollahzadeh | 2018-05-23 05:16:21 +0430 |
---|---|---|
committer | Mohammadreza Abdollahzadeh | 2018-05-23 05:16:21 +0430 |
commit | c169ea1858527bd7022b391830f0e6bd7ec0f46e (patch) | |
tree | d89dadc277e32cb57934fe302b408a83b98fb3c9 /PKGBUILD | |
parent | dfa6825048f7faf475533b105e56638d2499bac6 (diff) | |
download | aur-c169ea1858527bd7022b391830f0e6bd7ec0f46e.tar.gz |
update to v0.23.0.
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 21 |
1 files changed, 10 insertions, 11 deletions
@@ -2,22 +2,21 @@ # Maintainer: Mohammadreza Abdollahzadeh <morealaz at gmail dot com> pkgname=python-pandas-docs -pkgver=0.21.1 +pkgver=0.23.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") -sha256sums=('77f7ebd4ce49608315830ab84583fea0b5b37c4eb6512e05b18786bbeea41052') +source=("${pkgname}-${pkgver}.zip::http://pandas.pydata.org/pandas-docs/stable/pandas.zip") +sha256sums=('0c11cde5b842a448a3b1cf169e83748d04dfa21013111dd4c3196650c3536efc') -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 \{\} \; +prepare() { + rm ${pkgname}-${pkgver}.zip +} + +package() { + install -d "${pkgdir}"/usr/share/doc/python-pandas/html + cp -a ./* "${pkgdir}"/usr/share/doc/python-pandas/html/ } # vim:set ts=2 sw=2 et: |