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

Andrea Scarpino andrea at archlinux.org
Sun Jul 24 20:13:58 EDT 2011


    Date: Sunday, July 24, 2011 @ 20:13:57
  Author: andrea
Revision: 132601

move pkgbuilds to trunk; cleanup

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

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

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

Copied: kdeedu-kbruch/trunk/kdeedu-kbruch.install (from rev 132557, kdeedu-kbruch/kde-unstable/kdeedu-kbruch.install)
===================================================================
--- kdeedu-kbruch.install	                        (rev 0)
+++ kdeedu-kbruch.install	2011-07-25 00:13:57 UTC (rev 132601)
@@ -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