desktop/veusz/PKGBUILD

35 lines
1.3 KiB
Bash
Raw Normal View History

2010-11-03 01:56:46 +08:00
pkgname=veusz
2016-01-05 04:12:04 +08:00
pkgver=1.23.2
2016-03-28 01:20:48 +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')
2010-11-03 01:56:46 +08:00
source=(http://download.gna.org/$pkgname/$pkgname-$pkgver.tar.gz
veusz.desktop)
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')
2016-01-05 04:12:04 +08:00
sha512sums=('4af8858cc5b6e33589c1f1833e2051d3af45203218f2f9866ab1d704be9cd605ec0f829bff70aa0ce7f078a35369d315f930b5bbd4ee3436330ff20e90057ca1'
'e301ae597a9310a67f3d5ad6051251ef9389313722a11dded4827414ef061a56301ba7ba602603e1c577e1d4816efd3fc76ee0712ec61f0112830486de599828')
2010-11-03 01:56:46 +08:00
2014-01-16 17:54:15 +08:00
2010-11-03 01:56:46 +08:00
build() {
2013-11-18 07:56:49 +08:00
cd $srcdir/$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() {
2013-11-18 07:56:49 +08:00
cd $srcdir/$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
2013-11-18 07:56:49 +08:00
install -D -m644 $srcdir/$pkgname-$pkgver/icons/veusz_$_i.png \
$pkgdir/usr/share/icons/hicolor/${_i}x${_i}/apps/veusz.png
2010-11-03 01:56:46 +08:00
done
2013-11-18 07:56:49 +08:00
install -D -m644 $srcdir/veusz.desktop \
$pkgdir/usr/share/applications/veusz.desktop
2010-11-03 01:56:46 +08:00
}
2014-01-01 01:57:46 +08:00