[arch-commits] Commit in kbruch/repos (6 files)
Evangelos Foutras
foutrelis at archlinux.org
Tue Dec 8 09:39:46 UTC 2015
Date: Tuesday, December 8, 2015 @ 10:39:45
Author: foutrelis
Revision: 253649
archrelease: copy trunk to staging-i686, staging-x86_64
Added:
kbruch/repos/staging-i686/
kbruch/repos/staging-i686/PKGBUILD
(from rev 253648, kbruch/trunk/PKGBUILD)
kbruch/repos/staging-i686/kbruch.install
(from rev 253648, kbruch/trunk/kbruch.install)
kbruch/repos/staging-x86_64/
kbruch/repos/staging-x86_64/PKGBUILD
(from rev 253648, kbruch/trunk/PKGBUILD)
kbruch/repos/staging-x86_64/kbruch.install
(from rev 253648, kbruch/trunk/kbruch.install)
-------------------------------+
staging-i686/PKGBUILD | 39 +++++++++++++++++++++++++++++++++++++++
staging-i686/kbruch.install | 11 +++++++++++
staging-x86_64/PKGBUILD | 39 +++++++++++++++++++++++++++++++++++++++
staging-x86_64/kbruch.install | 11 +++++++++++
4 files changed, 100 insertions(+)
Copied: kbruch/repos/staging-i686/PKGBUILD (from rev 253648, kbruch/trunk/PKGBUILD)
===================================================================
--- staging-i686/PKGBUILD (rev 0)
+++ staging-i686/PKGBUILD 2015-12-08 09:39:45 UTC (rev 253649)
@@ -0,0 +1,39 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Andrea Scarpino <andrea at archlinux.org>
+
+pkgname=kbruch
+pkgver=15.08.3
+pkgrel=2
+pkgdesc="Exercise Fractions"
+url="http://kde.org/applications/education/kbruch/"
+arch=('i686' 'x86_64')
+license=('GPL' 'LGPL' 'FDL')
+groups=('kde-applications' 'kdeedu')
+depends=('kxmlgui')
+makedepends=('extra-cmake-modules' 'kdoctools' 'python')
+install=${pkgname}.install
+conflicts=('kdeedu-kbruch')
+replaces=('kdeedu-kbruch')
+source=("http://download.kde.org/stable/applications/${pkgver}/src/kbruch-${pkgver}.tar.xz")
+sha1sums=('680e9124004dee403552d5183bdcecbeedd17a54')
+
+prepare() {
+ mkdir -p build
+}
+
+build() {
+ cd build
+ cmake ../kbruch-${pkgver} \
+ -DCMAKE_BUILD_TYPE=Release \
+ -DBUILD_TESTING=OFF \
+ -DCMAKE_INSTALL_PREFIX=/usr \
+ -DCMAKE_INSTALL_LIBDIR=lib \
+ -DKDE_INSTALL_USE_QT_SYS_PATHS=ON
+ make
+}
+
+package() {
+ cd "${srcdir}"/build
+ make DESTDIR="${pkgdir}" install
+}
Copied: kbruch/repos/staging-i686/kbruch.install (from rev 253648, kbruch/trunk/kbruch.install)
===================================================================
--- staging-i686/kbruch.install (rev 0)
+++ staging-i686/kbruch.install 2015-12-08 09:39:45 UTC (rev 253649)
@@ -0,0 +1,11 @@
+post_install() {
+ xdg-icon-resource forceupdate --theme hicolor &> /dev/null
+}
+
+post_upgrade() {
+ post_install
+}
+
+post_remove() {
+ post_install
+}
Copied: kbruch/repos/staging-x86_64/PKGBUILD (from rev 253648, kbruch/trunk/PKGBUILD)
===================================================================
--- staging-x86_64/PKGBUILD (rev 0)
+++ staging-x86_64/PKGBUILD 2015-12-08 09:39:45 UTC (rev 253649)
@@ -0,0 +1,39 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Andrea Scarpino <andrea at archlinux.org>
+
+pkgname=kbruch
+pkgver=15.08.3
+pkgrel=2
+pkgdesc="Exercise Fractions"
+url="http://kde.org/applications/education/kbruch/"
+arch=('i686' 'x86_64')
+license=('GPL' 'LGPL' 'FDL')
+groups=('kde-applications' 'kdeedu')
+depends=('kxmlgui')
+makedepends=('extra-cmake-modules' 'kdoctools' 'python')
+install=${pkgname}.install
+conflicts=('kdeedu-kbruch')
+replaces=('kdeedu-kbruch')
+source=("http://download.kde.org/stable/applications/${pkgver}/src/kbruch-${pkgver}.tar.xz")
+sha1sums=('680e9124004dee403552d5183bdcecbeedd17a54')
+
+prepare() {
+ mkdir -p build
+}
+
+build() {
+ cd build
+ cmake ../kbruch-${pkgver} \
+ -DCMAKE_BUILD_TYPE=Release \
+ -DBUILD_TESTING=OFF \
+ -DCMAKE_INSTALL_PREFIX=/usr \
+ -DCMAKE_INSTALL_LIBDIR=lib \
+ -DKDE_INSTALL_USE_QT_SYS_PATHS=ON
+ make
+}
+
+package() {
+ cd "${srcdir}"/build
+ make DESTDIR="${pkgdir}" install
+}
Copied: kbruch/repos/staging-x86_64/kbruch.install (from rev 253648, kbruch/trunk/kbruch.install)
===================================================================
--- staging-x86_64/kbruch.install (rev 0)
+++ staging-x86_64/kbruch.install 2015-12-08 09:39:45 UTC (rev 253649)
@@ -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