diff options
author | Mohammadreza Abdollahzadeh | 2022-11-08 06:51:07 +0330 |
---|---|---|
committer | Mohammadreza Abdollahzadeh | 2022-11-08 06:51:07 +0330 |
commit | 94205844700f7ad67c967b7c9be2e50b4dd3b92e (patch) | |
tree | 8cda644a0098a353fba728c7bc6e00104411b59e /PKGBUILD | |
parent | 204010964178e03e642eee542daef3437107f74c (diff) | |
download | aur-octave-docs.tar.gz |
upgpkg: octave-docs 7.3.0-1
upstream release
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 29 |
1 files changed, 21 insertions, 8 deletions
@@ -1,22 +1,35 @@ # Maintainer: Mohammadreza Abdollahzadeh <morealaz at gmail dot com> + pkgname=octave-docs -pkgver=6.1.0 +pkgver=7.3.0 pkgrel=1 pkgdesc="GNU Octave documentation." arch=(any) url="https://www.gnu.org/software/octave/" license=('GPL') options=('docs') -source=(https://ftp.gnu.org.ua/gnu/octave/octave-$pkgver.tar.gz{,.sig}) -sha256sums=('6ff34e401658622c44094ecb67e497672e4337ca2d36c0702d0403ecc60b0a57' +source=(https://ftp.gnu.org/gnu/octave/octave-${pkgver}.tar.gz{,.sig}) +sha256sums=('6e14a4649d70af45ab660f8cbbf645aaf1ec33f25f88bfda4697cb17e440c4f5' 'SKIP') validpgpkeys=('DBD9C84E39FE1AAE99F04446B05F05B75D36644B') # John W. Eaton package() { - cd "${pkgname%-docs}-$pkgver" - install -d $pkgdir/usr/share/doc/octave/{interpreter,liboctave,refcard} - cp -ar doc/interpreter/octave.html $pkgdir/usr/share/doc/octave/interpreter/html - cp -ar doc/liboctave/liboctave.html $pkgdir/usr/share/doc/octave/liboctave/html - cp -a doc/refcard/*.{pdf,ps} $pkgdir/usr/share/doc/octave/refcard/ + cd "${pkgname%-docs}-${pkgver}" + # HTML + install -d ${pkgdir}/usr/share/doc/octave/html + cp -r doc/interpreter/octave.html \ + ${pkgdir}/usr/share/doc/octave/html/octave + cp -r doc/liboctave/liboctave.html \ + ${pkgdir}/usr/share/doc/octave/html/liboctave + # PDF + install -Dt ${pkgdir}/usr/share/doc/octave/pdf -m 644 \ + doc/interpreter/octave.pdf \ + doc/liboctave/liboctave.pdf \ + doc/refcard/*.pdf + # PS + install -Dt ${pkgdir}/usr/share/doc/octave/ps -m 644 \ + doc/interpreter/octave.ps \ + doc/liboctave/liboctave.ps \ + doc/refcard/*.ps } # vim:set ts=4 sw=4: |