updated on Mon Jan 23 20:11:11 UTC 2012
[aur-mirror.git] / veusz / PKGBUILD
blob6bbc32ce6011268f591530b3bf7ca281229f3e74
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>
6 pkgname=veusz
7 pkgver=1.14
8 pkgrel=1
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}/"
12 license=('GPL')
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"
18         "${pkgname}.desktop")
19 md5sums=('13c5e5d9105384e6d0cfcb3163ede4b9'
20          '3823fe5961f3975a4dff2967aadaa14f')
22 build() {
23   cd "${srcdir}/${pkgname}-${pkgver}"
24   python2 setup.py build 
27 package() {
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"
33   done
34   install -D -m644 "${srcdir}/veusz.desktop" \
35       "${pkgdir}/usr/share/applications/veusz.desktop"