[arch-commits] Commit in kdeedu-step/trunk (PKGBUILD kdeedu-step.install)

Andrea Scarpino andrea at archlinux.org
Sun Jul 24 20:14:47 EDT 2011


    Date: Sunday, July 24, 2011 @ 20:14:47
  Author: andrea
Revision: 132614

move pkgbuilds to trunk; cleanup

Added:
  kdeedu-step/trunk/PKGBUILD
    (from rev 132557, kdeedu-step/kde-unstable/PKGBUILD)
  kdeedu-step/trunk/kdeedu-step.install
    (from rev 132557, kdeedu-step/kde-unstable/kdeedu-step.install)

---------------------+
 PKGBUILD            |   31 +++++++++++++++++++++++++++++++
 kdeedu-step.install |   11 +++++++++++
 2 files changed, 42 insertions(+)

Copied: kdeedu-step/trunk/PKGBUILD (from rev 132557, kdeedu-step/kde-unstable/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2011-07-25 00:14:47 UTC (rev 132614)
@@ -0,0 +1,31 @@
+# $Id$
+# Maintainer: Andrea Scarpino <andrea at archlinux.org>
+
+pkgname=kdeedu-step
+pkgver=4.7.0
+pkgrel=1
+pkgdesc="Interactive Physical Simulator"
+url="http://kde.org/applications/education/step/"
+arch=('i686' 'x86_64')
+license=('GPL' 'LGPL' 'FDL')
+groups=('kde' 'kdeedu')
+depends=('kdebase-runtime' 'libqalculate' 'gsl' 'eigen')
+makedepends=('cmake' 'automoc4')
+install=${pkgname}.install
+source=("http://download.kde.org/stable/${pkgver}/src/step-${pkgver}.tar.bz2")
+sha1sums=('134fe3b80f0ea1931a81cd82981ef5d683442518')
+
+build() {
+  cd "${srcdir}"
+  mkdir build
+  cd build
+  cmake ../step-${pkgver} \
+    -DCMAKE_BUILD_TYPE=Release \
+    -DCMAKE_INSTALL_PREFIX=/usr
+  make
+}
+
+package() {
+  cd "${srcdir}"/build
+  make DESTDIR="${pkgdir}" install
+}

Copied: kdeedu-step/trunk/kdeedu-step.install (from rev 132557, kdeedu-step/kde-unstable/kdeedu-step.install)
===================================================================
--- kdeedu-step.install	                        (rev 0)
+++ kdeedu-step.install	2011-07-25 00:14:47 UTC (rev 132614)
@@ -0,0 +1,11 @@
+post_install() {
+	xdg-icon-resource forceupdate --theme hicolor &> /dev/null
+}
+
+post_upgrade() {
+	post_install
+}
+
+post_remove() {
+	post_install
+}



More information about the arch-commits mailing list