2010-11-03 01:56:46 +08:00
|
|
|
pkgname=veusz
|
2017-05-27 05:22:15 +08:00
|
|
|
pkgver=1.26.1
|
2018-02-05 07:33:38 +08:00
|
|
|
pkgrel=2
|
2010-11-03 01:56:46 +08:00
|
|
|
pkgdesc="A scientific plotting package, designed to create publication-ready Postscript output"
|
2013-10-16 14:44:05 +08:00
|
|
|
arch=('x86_64')
|
2015-06-19 21:48:37 +08:00
|
|
|
url="http://gna.org/projects/veusz"
|
2010-11-03 01:56:46 +08:00
|
|
|
license=('GPL')
|
2016-03-28 01:20:48 +08:00
|
|
|
depends=('python3-pyqt4' 'python3-numpy' 'python3-sip' 'openblas' 'lapack' 'hicolor-icon-theme')
|
|
|
|
optdepends=('python3-pyfits: for reading files in FITS format')
|
2017-05-27 05:22:15 +08:00
|
|
|
source=(https://github.com/veusz/veusz/archive/$pkgname-$pkgver.tar.gz
|
2010-11-03 01:56:46 +08:00
|
|
|
veusz.desktop)
|
2012-03-16 22:51:37 +08:00
|
|
|
categories=('education' 'science')
|
2014-05-05 18:26:27 +08:00
|
|
|
install=veusz.install
|
2014-01-01 01:57:46 +08:00
|
|
|
screenshot=('http://home.gna.org/veusz/screenshots/linux_mainwin.png')
|
2017-05-27 05:22:15 +08:00
|
|
|
sha256sums=('8dcd0e69408690f3ae9dd2eb9b634f703f23cf1e0e22ffca5695fcc3f385fbf8'
|
2016-12-22 20:00:22 +08:00
|
|
|
'33e17492c79986d0e7c545648fc50ab17d62f0207a73329689d0c4192a0d0b1d')
|
2010-11-03 01:56:46 +08:00
|
|
|
|
|
|
|
build() {
|
2017-05-27 05:22:15 +08:00
|
|
|
cd $pkgname-$pkgname-$pkgver
|
2014-09-10 17:32:19 +08:00
|
|
|
python3 setup.py build
|
2010-11-03 01:56:46 +08:00
|
|
|
}
|
2014-01-16 17:54:15 +08:00
|
|
|
|
2010-11-03 01:56:46 +08:00
|
|
|
package() {
|
2017-05-27 05:22:15 +08:00
|
|
|
cd $pkgname-$pkgname-$pkgver
|
2014-09-10 17:32:19 +08:00
|
|
|
python3 setup.py install --root=$pkgdir --prefix=/usr
|
2010-11-03 01:56:46 +08:00
|
|
|
for _i in 16 32 48 64 128; do
|
2016-12-22 20:00:22 +08:00
|
|
|
install -D -m644 "icons/veusz_$_i.png" \
|
2013-11-18 07:56:49 +08:00
|
|
|
$pkgdir/usr/share/icons/hicolor/${_i}x${_i}/apps/veusz.png
|
2010-11-03 01:56:46 +08:00
|
|
|
done
|
2017-05-27 05:22:15 +08:00
|
|
|
install -D -m644 ../veusz.desktop \
|
2013-11-18 07:56:49 +08:00
|
|
|
$pkgdir/usr/share/applications/veusz.desktop
|
2010-11-03 01:56:46 +08:00
|
|
|
}
|