summaryrefslogtreecommitdiff
path: root/extra/kdeedu-rocs
diff options
context:
space:
mode:
authorMichał Masłowski <mtjm@mtjm.eu>2013-02-09 11:13:39 +0100
committerMichał Masłowski <mtjm@mtjm.eu>2013-02-09 11:13:39 +0100
commit80c5e58be137999f5d9690b682e888436ffe69b2 (patch)
tree5aef91b2cbc21ef5471d9ab69066ba7beaf747f0 /extra/kdeedu-rocs
parent9866fa59a35ebbae88bec725eba8551f34990e03 (diff)
parente9c244cac8e5dc1c59c7e8b7bc885fef04224b70 (diff)
Merge branch 'master' of ssh://parabolagnulinux.org:1863/home/parabola/abslibre-pre-mips64el
Conflicts: community/haskell-dataenc/PKGBUILD community/haskell-haskeline/PKGBUILD community/haskell-hslogger/PKGBUILD community/haskell-terminfo/PKGBUILD community/haskell-utf8-string/PKGBUILD community/haskell-x11-xft/PKGBUILD core/openssl/PKGBUILD extra/cabal-install/PKGBUILD extra/haskell-http/PKGBUILD extra/haskell-mtl/PKGBUILD extra/haskell-network/PKGBUILD extra/haskell-parsec/PKGBUILD extra/haskell-text/PKGBUILD extra/haskell-transformers/PKGBUILD extra/haskell-zlib/PKGBUILD extra/kdebindings-python/PKGBUILD
Diffstat (limited to 'extra/kdeedu-rocs')
-rw-r--r--extra/kdeedu-rocs/PKGBUILD11
-rw-r--r--extra/kdeedu-rocs/kdeedu-rocs.install11
2 files changed, 17 insertions, 5 deletions
diff --git a/extra/kdeedu-rocs/PKGBUILD b/extra/kdeedu-rocs/PKGBUILD
index 3fc09977f..028f5e173 100644
--- a/extra/kdeedu-rocs/PKGBUILD
+++ b/extra/kdeedu-rocs/PKGBUILD
@@ -1,9 +1,9 @@
-# $Id: PKGBUILD 176288 2013-01-28 16:48:20Z stephane $
+# $Id: PKGBUILD 177685 2013-02-08 08:56:51Z andrea $
# Maintainer: Andrea Scarpino <andrea@archlinux.org>
pkgname=kdeedu-rocs
-pkgver=4.9.5
-pkgrel=2
+pkgver=4.10.0
+pkgrel=1
pkgdesc="Rocs Graph Theory"
url="http://kde.org/applications/education/rocs/"
arch=('i686' 'x86_64' 'mips64el')
@@ -11,9 +11,9 @@ license=('GPL' 'LGPL' 'FDL')
groups=('kde' 'kdeedu')
depends=('kdebase-runtime')
makedepends=('cmake' 'automoc4' 'boost')
+install=${pkgname}.install
source=("http://download.kde.org/stable/${pkgver}/src/rocs-${pkgver}.tar.xz")
-sha1sums=('ef63aea2c93a3def43201e6fff768bc6730edef1')
-options=('!makeflags')
+sha1sums=('6e1d757518931a0ee41378a04e06cd66d51d6b9e')
build() {
cd "${srcdir}"
@@ -21,6 +21,7 @@ build() {
cd build
cmake ../rocs-${pkgver} \
-DCMAKE_BUILD_TYPE=Release \
+ -DKDE4_BUILD_TESTS=OFF \
-DCMAKE_INSTALL_PREFIX=/usr
make
}
diff --git a/extra/kdeedu-rocs/kdeedu-rocs.install b/extra/kdeedu-rocs/kdeedu-rocs.install
new file mode 100644
index 000000000..88ac37896
--- /dev/null
+++ b/extra/kdeedu-rocs/kdeedu-rocs.install
@@ -0,0 +1,11 @@
+post_install() {
+ update-desktop-database -q
+}
+
+post_upgrade() {
+ post_install
+}
+
+post_remove() {
+ post_install
+}