[arch-commits] Commit in kdeedu-kbruch/repos (6 files)

Felix Yan fyan at archlinux.org
Wed Mar 4 11:07:09 UTC 2015


    Date: Wednesday, March 4, 2015 @ 12:07:09
  Author: fyan
Revision: 232615

archrelease: copy trunk to testing-i686, testing-x86_64

Added:
  kdeedu-kbruch/repos/testing-i686/
  kdeedu-kbruch/repos/testing-i686/PKGBUILD
    (from rev 232614, kdeedu-kbruch/trunk/PKGBUILD)
  kdeedu-kbruch/repos/testing-i686/kdeedu-kbruch.install
    (from rev 232614, kdeedu-kbruch/trunk/kdeedu-kbruch.install)
  kdeedu-kbruch/repos/testing-x86_64/
  kdeedu-kbruch/repos/testing-x86_64/PKGBUILD
    (from rev 232614, kdeedu-kbruch/trunk/PKGBUILD)
  kdeedu-kbruch/repos/testing-x86_64/kdeedu-kbruch.install
    (from rev 232614, kdeedu-kbruch/trunk/kdeedu-kbruch.install)

--------------------------------------+
 testing-i686/PKGBUILD                |   35 +++++++++++++++++++++++++++++++++
 testing-i686/kdeedu-kbruch.install   |   11 ++++++++++
 testing-x86_64/PKGBUILD              |   35 +++++++++++++++++++++++++++++++++
 testing-x86_64/kdeedu-kbruch.install |   11 ++++++++++
 4 files changed, 92 insertions(+)

Copied: kdeedu-kbruch/repos/testing-i686/PKGBUILD (from rev 232614, kdeedu-kbruch/trunk/PKGBUILD)
===================================================================
--- testing-i686/PKGBUILD	                        (rev 0)
+++ testing-i686/PKGBUILD	2015-03-04 11:07:09 UTC (rev 232615)
@@ -0,0 +1,35 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Andrea Scarpino <andrea at archlinux.org>
+
+pkgname=kdeedu-kbruch
+pkgver=14.12.3
+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/applications/${pkgver}/src/kbruch-${pkgver}.tar.xz")
+sha1sums=('26bc4c8ea9512e652fb74187e55003f6e95bfb98')
+
+prepare() {
+  mkdir build
+}
+
+build() {
+  cd build
+  cmake ../kbruch-${pkgver} \
+    -DCMAKE_BUILD_TYPE=Release \
+    -DKDE4_BUILD_TESTS=OFF \
+    -DCMAKE_INSTALL_PREFIX=/usr
+  make
+}
+
+package() {
+  cd "${srcdir}"/build
+  make DESTDIR="${pkgdir}" install
+}

Copied: kdeedu-kbruch/repos/testing-i686/kdeedu-kbruch.install (from rev 232614, kdeedu-kbruch/trunk/kdeedu-kbruch.install)
===================================================================
--- testing-i686/kdeedu-kbruch.install	                        (rev 0)
+++ testing-i686/kdeedu-kbruch.install	2015-03-04 11:07:09 UTC (rev 232615)
@@ -0,0 +1,11 @@
+post_install() {
+	xdg-icon-resource forceupdate --theme hicolor &> /dev/null
+}
+
+post_upgrade() {
+	post_install
+}
+
+post_remove() {
+	post_install
+}

Copied: kdeedu-kbruch/repos/testing-x86_64/PKGBUILD (from rev 232614, kdeedu-kbruch/trunk/PKGBUILD)
===================================================================
--- testing-x86_64/PKGBUILD	                        (rev 0)
+++ testing-x86_64/PKGBUILD	2015-03-04 11:07:09 UTC (rev 232615)
@@ -0,0 +1,35 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Andrea Scarpino <andrea at archlinux.org>
+
+pkgname=kdeedu-kbruch
+pkgver=14.12.3
+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/applications/${pkgver}/src/kbruch-${pkgver}.tar.xz")
+sha1sums=('26bc4c8ea9512e652fb74187e55003f6e95bfb98')
+
+prepare() {
+  mkdir build
+}
+
+build() {
+  cd build
+  cmake ../kbruch-${pkgver} \
+    -DCMAKE_BUILD_TYPE=Release \
+    -DKDE4_BUILD_TESTS=OFF \
+    -DCMAKE_INSTALL_PREFIX=/usr
+  make
+}
+
+package() {
+  cd "${srcdir}"/build
+  make DESTDIR="${pkgdir}" install
+}

Copied: kdeedu-kbruch/repos/testing-x86_64/kdeedu-kbruch.install (from rev 232614, kdeedu-kbruch/trunk/kdeedu-kbruch.install)
===================================================================
--- testing-x86_64/kdeedu-kbruch.install	                        (rev 0)
+++ testing-x86_64/kdeedu-kbruch.install	2015-03-04 11:07:09 UTC (rev 232615)
@@ -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