From e9c244cac8e5dc1c59c7e8b7bc885fef04224b70 Mon Sep 17 00:00:00 2001 From: root Date: Sat, 9 Feb 2013 00:07:22 -0800 Subject: Sat Feb 9 00:07:22 PST 2013 --- extra/kdeedu-rocs/PKGBUILD | 11 ++++++----- extra/kdeedu-rocs/kdeedu-rocs.install | 11 +++++++++++ 2 files changed, 17 insertions(+), 5 deletions(-) create mode 100644 extra/kdeedu-rocs/kdeedu-rocs.install (limited to 'extra/kdeedu-rocs') diff --git a/extra/kdeedu-rocs/PKGBUILD b/extra/kdeedu-rocs/PKGBUILD index 00ec0b87f..8da16bc18 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 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') @@ -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 +} -- cgit v1.2.3-54-g00ecf