mirror of
https://gitdl.cn/https://github.com/chakralinux/desktop.git
synced 2025-01-24 10:32:13 +08:00
0af05b343a
renamed checksums to kdeapps.sums added for all packages the pgp signature for new/removed packages check: https://community.kde.org/Applications/16.12_Release_Notes#Tarballs_that_we_have_split
34 lines
1.2 KiB
Bash
34 lines
1.2 KiB
Bash
pkgname=veusz
|
|
pkgver=1.25
|
|
pkgrel=1
|
|
pkgdesc="A scientific plotting package, designed to create publication-ready Postscript output"
|
|
arch=('x86_64')
|
|
url="http://gna.org/projects/veusz"
|
|
license=('GPL')
|
|
depends=('python3-pyqt4' 'python3-numpy' 'python3-sip' 'openblas' 'lapack' 'hicolor-icon-theme')
|
|
optdepends=('python3-pyfits: for reading files in FITS format')
|
|
source=(http://download.gna.org/$pkgname/$pkgname-$pkgver.tar.gz
|
|
veusz.desktop)
|
|
categories=('education' 'science')
|
|
install=veusz.install
|
|
screenshot=('http://home.gna.org/veusz/screenshots/linux_mainwin.png')
|
|
sha512sums=('392ceeecc730fd34cadcbceaed371585457d5db6419388f6692e58c67a75145bc66dc8af8556e4d876135167b5d2ec5d671020cc7a925ee90e6f0f9bc41b1424'
|
|
'e301ae597a9310a67f3d5ad6051251ef9389313722a11dded4827414ef061a56301ba7ba602603e1c577e1d4816efd3fc76ee0712ec61f0112830486de599828')
|
|
|
|
build() {
|
|
cd $pkgname-$pkgver
|
|
python3 setup.py build
|
|
}
|
|
|
|
package() {
|
|
cd $pkgname-$pkgver
|
|
python3 setup.py install --root=$pkgdir --prefix=/usr
|
|
for _i in 16 32 48 64 128; do
|
|
install -D -m644 $pkgname-$pkgver/icons/veusz_$_i.png \
|
|
$pkgdir/usr/share/icons/hicolor/${_i}x${_i}/apps/veusz.png
|
|
done
|
|
install -D -m644 veusz.desktop \
|
|
$pkgdir/usr/share/applications/veusz.desktop
|
|
}
|
|
|