2016-02-27 21:18:41 +08:00
|
|
|
source ../kdeapps.conf
|
|
|
|
|
2015-03-01 02:40:35 +08:00
|
|
|
pkgname=labplot
|
2016-07-24 10:26:58 +08:00
|
|
|
pkgver=2.3.0
|
2016-07-31 22:07:06 +08:00
|
|
|
pkgrel=2
|
2015-03-01 02:40:35 +08:00
|
|
|
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')
|
2015-11-09 14:04:05 +08:00
|
|
|
depends=('hdf5' 'netcdf' 'gsl' 'qt5-base' 'qt5-svg' 'karchive' 'ki18n' 'kwidgetsaddons'
|
|
|
|
'kxmlgui' 'kio' 'kdelibs4support' 'kdoctools')
|
|
|
|
makedepends=('cmake' 'extra-cmake-modules')
|
2015-04-15 07:25:42 +08:00
|
|
|
conflicts=('labplot2-svn')
|
2016-03-30 20:37:10 +08:00
|
|
|
source=("http://download.kde.org/stable/${pkgname}/${pkgver}/${pkgname}-${pkgver}-kf5.tar.xz")
|
2016-07-24 10:26:58 +08:00
|
|
|
sha256sums=('a5a7d706de5f978430b359ada42f9227a2619f5fa9608d56af16c760b7626f33')
|
2015-03-01 02:40:35 +08:00
|
|
|
|
2015-11-09 14:04:05 +08:00
|
|
|
build() {
|
2016-03-30 20:37:10 +08:00
|
|
|
cd "${srcdir}"/${pkgname}-${pkgver}-kf5
|
2016-02-27 21:18:41 +08:00
|
|
|
cmake_kf5
|
2015-03-01 02:40:35 +08:00
|
|
|
make
|
|
|
|
}
|
|
|
|
|
|
|
|
package() {
|
2016-03-30 20:37:10 +08:00
|
|
|
cd "${srcdir}"/${pkgname}-${pkgver}-kf5
|
2015-03-01 02:40:35 +08:00
|
|
|
make DESTDIR="${pkgdir}" install
|
2016-07-31 22:07:06 +08:00
|
|
|
|
|
|
|
#fix .desktop exec line
|
|
|
|
sed -i s!'Exec=labplot2 -caption %c %i %f'!'Exec=labplot2'! \
|
|
|
|
${pkgdir}/usr/share/applications/labplot2.desktop
|
2015-03-01 02:40:35 +08:00
|
|
|
}
|