mirror of
https://gitdl.cn/https://github.com/chakralinux/desktop.git
synced 2025-01-24 02:22:13 +08:00
31 lines
933 B
Bash
31 lines
933 B
Bash
source ../kdeapps.conf
|
|
|
|
pkgname=labplot
|
|
pkgver=2.3.0
|
|
pkgrel=3
|
|
pkgdesc="A free software data analysis and visualization application build on top of KDE SC"
|
|
arch=('x86_64')
|
|
url='http://labplot.sourceforge.net/'
|
|
license=('GPL')
|
|
depends=('hdf5' 'netcdf' 'gsl' 'qt5-base' 'qt5-svg' 'karchive' 'ki18n' 'kwidgetsaddons'
|
|
'kxmlgui' 'kio' 'kdelibs4support' 'kdoctools')
|
|
makedepends=('cmake' 'extra-cmake-modules')
|
|
conflicts=('labplot2-svn')
|
|
source=("http://download.kde.org/stable/${pkgname}/${pkgver}/${pkgname}-${pkgver}-kf5.tar.xz")
|
|
sha256sums=('a5a7d706de5f978430b359ada42f9227a2619f5fa9608d56af16c760b7626f33')
|
|
|
|
build() {
|
|
cd "${srcdir}"/${pkgname}-${pkgver}-kf5
|
|
cmake_kf5
|
|
make
|
|
}
|
|
|
|
package() {
|
|
cd "${srcdir}"/${pkgname}-${pkgver}-kf5
|
|
make DESTDIR="${pkgdir}" install
|
|
|
|
#fix .desktop exec line
|
|
sed -i s!'Exec=labplot2 -caption %c %i %f'!'Exec=labplot2'! \
|
|
${pkgdir}/usr/share/applications/labplot2.desktop
|
|
}
|