[arch-commits] Commit in kdeedu-kbruch/repos (4 files)
Andrea Scarpino
andrea at archlinux.org
Thu Nov 24 16:14:54 UTC 2011
Date: Thursday, November 24, 2011 @ 11:14:54
Author: andrea
Revision: 143358
db-move: moved kdeedu-kbruch from [staging] to [kde-unstable] (x86_64)
Added:
kdeedu-kbruch/repos/kde-unstable-x86_64/
kdeedu-kbruch/repos/kde-unstable-x86_64/PKGBUILD
(from rev 143277, kdeedu-kbruch/repos/staging-x86_64/PKGBUILD)
kdeedu-kbruch/repos/kde-unstable-x86_64/kdeedu-kbruch.install
(from rev 143277, kdeedu-kbruch/repos/staging-x86_64/kdeedu-kbruch.install)
Deleted:
kdeedu-kbruch/repos/staging-x86_64/
-----------------------+
PKGBUILD | 31 +++++++++++++++++++++++++++++++
kdeedu-kbruch.install | 11 +++++++++++
2 files changed, 42 insertions(+)
Copied: kdeedu-kbruch/repos/kde-unstable-x86_64/PKGBUILD (from rev 143277, kdeedu-kbruch/repos/staging-x86_64/PKGBUILD)
===================================================================
--- kde-unstable-x86_64/PKGBUILD (rev 0)
+++ kde-unstable-x86_64/PKGBUILD 2011-11-24 16:14:54 UTC (rev 143358)
@@ -0,0 +1,31 @@
+# $Id$
+# Maintainer: Andrea Scarpino <andrea at archlinux.org>
+
+pkgname=kdeedu-kbruch
+pkgver=4.7.80
+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/unstable/${pkgver}/src/kbruch-${pkgver}.tar.bz2")
+sha1sums=('46d735c58ed5bf7a871d92633f1d42b418da7815')
+
+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/repos/kde-unstable-x86_64/kdeedu-kbruch.install (from rev 143277, kdeedu-kbruch/repos/staging-x86_64/kdeedu-kbruch.install)
===================================================================
--- kde-unstable-x86_64/kdeedu-kbruch.install (rev 0)
+++ kde-unstable-x86_64/kdeedu-kbruch.install 2011-11-24 16:14:54 UTC (rev 143358)
@@ -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