[arch-commits] Commit in kbruch/repos (6 files)
Antonio Rojas
arojas at archlinux.org
Sat Mar 26 22:58:56 UTC 2016
Date: Saturday, March 26, 2016 @ 23:58:56
Author: arojas
Revision: 262678
archrelease: copy kde-unstable to staging-i686, staging-x86_64
Added:
kbruch/repos/staging-i686/
kbruch/repos/staging-i686/PKGBUILD
(from rev 262677, kbruch/kde-unstable/PKGBUILD)
kbruch/repos/staging-i686/kbruch.install
(from rev 262677, kbruch/kde-unstable/kbruch.install)
kbruch/repos/staging-x86_64/
kbruch/repos/staging-x86_64/PKGBUILD
(from rev 262677, kbruch/kde-unstable/PKGBUILD)
kbruch/repos/staging-x86_64/kbruch.install
(from rev 262677, kbruch/kde-unstable/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 262677, kbruch/kde-unstable/PKGBUILD)
===================================================================
--- staging-i686/PKGBUILD (rev 0)
+++ staging-i686/PKGBUILD 2016-03-26 22:58:56 UTC (rev 262678)
@@ -0,0 +1,39 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Andrea Scarpino <andrea at archlinux.org>
+
+pkgname=kbruch
+pkgver=16.03.80
+pkgrel=1
+pkgdesc="Exercise Fractions"
+url="http://kde.org/applications/education/kbruch/"
+arch=('i686' 'x86_64')
+license=('GPL' 'LGPL' 'FDL')
+groups=('kde-applications' 'kdeedu')
+depends=('kxmlgui' 'hicolor-icon-theme')
+makedepends=('extra-cmake-modules' 'kdoctools' 'python')
+install=${pkgname}.install
+conflicts=('kdeedu-kbruch')
+replaces=('kdeedu-kbruch')
+source=("http://download.kde.org/unstable/applications/${pkgver}/src/kbruch-${pkgver}.tar.xz")
+sha1sums=('8b4ed0506badb4b23d75046c118e2ef4aad38ce7')
+
+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 262677, kbruch/kde-unstable/kbruch.install)
===================================================================
--- staging-i686/kbruch.install (rev 0)
+++ staging-i686/kbruch.install 2016-03-26 22:58:56 UTC (rev 262678)
@@ -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 262677, kbruch/kde-unstable/PKGBUILD)
===================================================================
--- staging-x86_64/PKGBUILD (rev 0)
+++ staging-x86_64/PKGBUILD 2016-03-26 22:58:56 UTC (rev 262678)
@@ -0,0 +1,39 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Andrea Scarpino <andrea at archlinux.org>
+
+pkgname=kbruch
+pkgver=16.03.80
+pkgrel=1
+pkgdesc="Exercise Fractions"
+url="http://kde.org/applications/education/kbruch/"
+arch=('i686' 'x86_64')
+license=('GPL' 'LGPL' 'FDL')
+groups=('kde-applications' 'kdeedu')
+depends=('kxmlgui' 'hicolor-icon-theme')
+makedepends=('extra-cmake-modules' 'kdoctools' 'python')
+install=${pkgname}.install
+conflicts=('kdeedu-kbruch')
+replaces=('kdeedu-kbruch')
+source=("http://download.kde.org/unstable/applications/${pkgver}/src/kbruch-${pkgver}.tar.xz")
+sha1sums=('8b4ed0506badb4b23d75046c118e2ef4aad38ce7')
+
+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 262677, kbruch/kde-unstable/kbruch.install)
===================================================================
--- staging-x86_64/kbruch.install (rev 0)
+++ staging-x86_64/kbruch.install 2016-03-26 22:58:56 UTC (rev 262678)
@@ -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