summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorb00rt00s2016-04-03 17:40:15 +0200
committerb00rt00s2016-04-03 17:40:15 +0200
commit65578e2e7b3ee26eed66fc3dcc1991d92c9de4e0 (patch)
tree5b434cb48c635bfc6aefc336a84bace04e6f5e86
parent5264cbd87bb64df45443bd3ed2fef23b4f2101ae (diff)
downloadaur-65578e2e7b3ee26eed66fc3dcc1991d92c9de4e0.tar.gz
update to 2.2.0
-rw-r--r--.SRCINFO14
-rw-r--r--PKGBUILD17
-rw-r--r--labplot-kf5.install11
3 files changed, 30 insertions, 12 deletions
diff --git a/.SRCINFO b/.SRCINFO
index a6e5f4efdd9a..ecedf6c3543b 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,10 +1,11 @@
# Generated by mksrcinfo v8
-# śro lut 24 10:43:29 UTC 2016
+# nie kwi 3 15:39:35 UTC 2016
pkgbase = labplot-kf5
pkgdesc = A free software data analysis and visualization application, for two and three-dimensional graphical presentation of data sets and functions.
- pkgver = 2.1.0
- pkgrel = 2
+ pkgver = 2.2.0
+ pkgrel = 1
url = http://labplot.sourceforge.net/
+ install = labplot-kf5.install
arch = i686
arch = x86_64
license = GPL
@@ -12,10 +13,11 @@ pkgbase = labplot-kf5
makedepends = extra-cmake-modules
makedepends = kdoctools
depends = kdebase-runtime
- depends = kde-cli-tools
depends = gsl
- source = http://download.kde.org/stable/labplot/2.1.0/src/labplot-kf5-2.1.0.tar.xz
- md5sums = 7ca4deb2a009f0da4349fda695a43788
+ source = http://download.kde.org/stable/labplot/2.2.0/labplot-2.2.0-kf5.tar.xz
+ source = labplot-kf5.install
+ md5sums = 1985522cbd731f66b38f8fcc0cd96b20
+ md5sums = 7dd4a598d34b8e21411dec1247752d99
pkgname = labplot-kf5
diff --git a/PKGBUILD b/PKGBUILD
index 8c3ad7aa7813..2c236039bf5f 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,24 +2,29 @@
# Contributor: XavierCLL <xavier.corredor.llano (a) gmail.com>
pkgname=labplot-kf5
-pkgver=2.1.0
-pkgrel=2
+pkgver=2.2.0
+pkgrel=1
pkgdesc="A free software data analysis and visualization application, for two and three-dimensional graphical presentation of data sets and functions."
arch=('i686' 'x86_64')
url='http://labplot.sourceforge.net/'
license=('GPL')
-depends=('kdebase-runtime' 'kde-cli-tools' 'gsl')
+depends=('kdebase-runtime' 'gsl')
makedepends=('cmake' 'extra-cmake-modules' 'kdoctools')
-source=("http://download.kde.org/stable/labplot/${pkgver}/src/labplot-kf5-${pkgver}.tar.xz")
-md5sums=('7ca4deb2a009f0da4349fda695a43788')
+source=("http://download.kde.org/stable/labplot/${pkgver}/labplot-${pkgver}-kf5.tar.xz" "labplot-kf5.install")
+md5sums=('1985522cbd731f66b38f8fcc0cd96b20'
+ '7dd4a598d34b8e21411dec1247752d99')
+install='labplot-kf5.install'
prepare() {
+ ( cd "${srcdir}/labplot-${pkgver}-kf5"
+ sed -i 's/isnan/std::isnan/g' `grep "isnan" -rl`
+ sed -i 's/<math\.h>/<cmath>/g' `grep "math.h" -rl` )
mkdir -p build
}
build() {
cd build
- cmake ../${pkgname}-${pkgver} \
+ cmake ../labplot-${pkgver}-kf5 \
-DCMAKE_BUILD_TYPE=Release \
-DCMAKE_INSTALL_PREFIX=/usr \
-DKDE_INSTALL_USE_QT_SYS_PATHS=ON \
diff --git a/labplot-kf5.install b/labplot-kf5.install
new file mode 100644
index 000000000000..966c0a878ac0
--- /dev/null
+++ b/labplot-kf5.install
@@ -0,0 +1,11 @@
+post_install() {
+ xdg-icon-resource forceupdate
+ update-desktop-database -q
+ update-mime-database usr/share/mime
+}
+post_upgrade() {
+ post_install
+}
+post_remove() {
+ post_install
+}