1 # Contributor: G_Syme <demichan(at)mail(dot)upb(dot)de>
2 # Contributor: Ray Kohler <ataraxia937@gmail.com>
3 # Contributor: Stefan Husmann <stefan-husmann@t-online.de>
4 # Maintainer: moostik <mooostik_at_gmail.com>
9 pkgdesc="A scientific plotting and graphing package, designed to create publication-ready Postscript or PDF output"
10 arch=('i686' 'x86_64')
11 url="http://home.gna.org/${pkgname}/"
13 depends=('python2-qt' 'python2-numpy')
14 optdepends=('python-pyfits: for reading files in FITS format'
15 'python2-emf: for EMF export')
16 install='veusz.install'
17 source=("http://download.gna.org/${pkgname}/${pkgname}-${pkgver}.tar.gz"
19 md5sums=('13c5e5d9105384e6d0cfcb3163ede4b9'
20 '3823fe5961f3975a4dff2967aadaa14f')
23 cd "${srcdir}/${pkgname}-${pkgver}"
24 python2 setup.py build
28 cd "${srcdir}/${pkgname}-${pkgver}"
29 python2 setup.py install --root="${pkgdir}" --prefix=/usr
30 for _i in 16 32 48 64 128; do
31 install -D -m644 "windows/icons/veusz_${_i}.png" \
32 "${pkgdir}/usr/share/icons/hicolor/${_i}x${_i}/apps/veusz.png"
34 install -D -m644 "${srcdir}/veusz.desktop" \
35 "${pkgdir}/usr/share/applications/veusz.desktop"