blob: dc040d423272fb8b92a6964ac98902c104b6aa5b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
|
# Maintainer: Stefan Husmann <stefan-husmann@t-online.de>
# Contributor: jfperini <@jfperini>
pkgname=veusz-git
pkgver=3.5.3.r3.gf93cf7ac
pkgrel=1
pkgdesc="A scientific plotting and graphing package, designed to create publication-ready Postscript or PDF output."
url="https://github.com/veusz/veusz"
arch=('x86_64')
license=('GPL2')
depends=('python-pyqt5' 'python-numpy' 'hicolor-icon-theme' 'cblas')
makedepends=('git' 'sip>=6.7.5' 'python-tomli')
optdepends=('ghostscript: for EPS/PS output'
'python-dbus: for dbus interface'
'python-iminuit: improved fitting'
'python-astropy: for VO table import or FITS import')
conflicts=('veusz')
provides=('veusz')
source=('git+https://github.com/veusz/veusz')
sha256sums=('SKIP')
pkgver() {
cd ${pkgname%-git}
git describe --tags --long|cut -c7- |sed 's+-+.r+'|tr - .
}
build() {
cd ${pkgname%-git}
python setup.py build
}
package() {
cd ${pkgname%-git}
python setup.py install --root="$pkgdir" --prefix=/usr
for _i in 16 32 48 64 128; do
install -Dm644 "icons/veusz_${_i}.png" "$pkgdir"/usr/share/icons/hicolor/${_i}x${_i}/apps/veusz.png
done
install -D -m644 "support/veusz.desktop" "${pkgdir}/usr/share/applications/veusz.desktop"
}
|