veusz update to 1.19

This commit is contained in:
Francesco 2013-11-17 23:56:49 +00:00
parent 26fef09c2a
commit 481fc75d14

View File

@ -4,7 +4,7 @@
# maintainer (x86_64): Giuseppe Calà <jiveaxe@gmail.com>
pkgname=veusz
pkgver=1.18
pkgver=1.19
pkgrel=1
pkgdesc="A scientific plotting package, designed to create publication-ready Postscript output"
arch=('x86_64')
@ -16,21 +16,21 @@ source=(http://download.gna.org/$pkgname/$pkgname-$pkgver.tar.gz
veusz.desktop)
categories=('education' 'science')
screenshot=('http://home.gna.org/veusz/screenshots/screenshot1.png')
md5sums=('75b119a3fc70b4e1fe9176e4a8b16ab4'
md5sums=('7e9b36921de373959239f3187b26c5f9'
'1e526306463d2212e56290c9994a41a6')
install=veusz.install
build() {
cd "$srcdir"/$pkgname-$pkgver
cd $srcdir/$pkgname-$pkgver
python2 setup.py build
}
package() {
cd "$srcdir"/$pkgname-$pkgver
python2 setup.py install --root="$pkgdir" --prefix=/usr
cd $srcdir/$pkgname-$pkgver
python2 setup.py install --root=$pkgdir --prefix=/usr
for _i in 16 32 48 64 128; do
install -D -m644 windows/icons/veusz_$_i.png \
"$pkgdir"/usr/share/icons/hicolor/${_i}x${_i}/apps/veusz.png
install -D -m644 $srcdir/$pkgname-$pkgver/icons/veusz_$_i.png \
$pkgdir/usr/share/icons/hicolor/${_i}x${_i}/apps/veusz.png
done
install -D -m644 "$srcdir"/veusz.desktop \
"$pkgdir"/usr/share/applications/veusz.desktop
install -D -m644 $srcdir/veusz.desktop \
$pkgdir/usr/share/applications/veusz.desktop
}