[arch-commits] Commit in kalgebra/repos (6 files)
Antonio Rojas
arojas at archlinux.org
Thu Nov 19 20:51:03 UTC 2015
Date: Thursday, November 19, 2015 @ 21:51:03
Author: arojas
Revision: 251315
archrelease: copy kde-unstable to staging-i686, staging-x86_64
Added:
kalgebra/repos/staging-i686/
kalgebra/repos/staging-i686/PKGBUILD
(from rev 251314, kalgebra/kde-unstable/PKGBUILD)
kalgebra/repos/staging-i686/kalgebra.install
(from rev 251314, kalgebra/kde-unstable/kalgebra.install)
kalgebra/repos/staging-x86_64/
kalgebra/repos/staging-x86_64/PKGBUILD
(from rev 251314, kalgebra/kde-unstable/PKGBUILD)
kalgebra/repos/staging-x86_64/kalgebra.install
(from rev 251314, kalgebra/kde-unstable/kalgebra.install)
---------------------------------+
staging-i686/PKGBUILD | 37 +++++++++++++++++++++++++++++++++++++
staging-i686/kalgebra.install | 12 ++++++++++++
staging-x86_64/PKGBUILD | 37 +++++++++++++++++++++++++++++++++++++
staging-x86_64/kalgebra.install | 12 ++++++++++++
4 files changed, 98 insertions(+)
Copied: kalgebra/repos/staging-i686/PKGBUILD (from rev 251314, kalgebra/kde-unstable/PKGBUILD)
===================================================================
--- staging-i686/PKGBUILD (rev 0)
+++ staging-i686/PKGBUILD 2015-11-19 20:51:03 UTC (rev 251315)
@@ -0,0 +1,37 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Andrea Scarpino <andrea at archlinux.org>
+
+pkgname=kalgebra
+pkgver=15.11.80
+pkgrel=1
+pkgdesc="Graph Calculator"
+url="http://kde.org/applications/education/kalgebra/"
+arch=('i686' 'x86_64')
+license=('GPL' 'LGPL' 'FDL')
+groups=('kde-applications' 'kdeedu')
+depends=('analitza' 'kio' 'qt5-webkit' 'hicolor-icon-theme')
+makedepends=('extra-cmake-modules' 'kdoctools' 'python' 'glu')
+replaces=('kdeedu-kalgebra')
+conflicts=('kdeedu-kalgebra' 'kdeedu-analitza')
+install=${pkgname}.install
+source=("http://download.kde.org/unstable/applications/${pkgver}/src/kalgebra-${pkgver}.tar.xz")
+sha1sums=('2e5ca5de263986b663871c8b656862dc6dc5924f')
+
+prepare() {
+ mkdir -p build
+}
+
+build() {
+ cd build
+ cmake ../kalgebra-${pkgver} \
+ -DCMAKE_BUILD_TYPE=Release \
+ -DKDE4_BUILD_TESTS=OFF \
+ -DCMAKE_INSTALL_PREFIX=/usr
+ make
+}
+
+package() {
+ cd build
+ make DESTDIR="${pkgdir}" install
+}
Copied: kalgebra/repos/staging-i686/kalgebra.install (from rev 251314, kalgebra/kde-unstable/kalgebra.install)
===================================================================
--- staging-i686/kalgebra.install (rev 0)
+++ staging-i686/kalgebra.install 2015-11-19 20:51:03 UTC (rev 251315)
@@ -0,0 +1,12 @@
+post_install() {
+ xdg-icon-resource forceupdate --theme hicolor &> /dev/null
+ update-desktop-database -q
+}
+
+post_upgrade() {
+ post_install
+}
+
+post_remove() {
+ post_install
+}
Copied: kalgebra/repos/staging-x86_64/PKGBUILD (from rev 251314, kalgebra/kde-unstable/PKGBUILD)
===================================================================
--- staging-x86_64/PKGBUILD (rev 0)
+++ staging-x86_64/PKGBUILD 2015-11-19 20:51:03 UTC (rev 251315)
@@ -0,0 +1,37 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Andrea Scarpino <andrea at archlinux.org>
+
+pkgname=kalgebra
+pkgver=15.11.80
+pkgrel=1
+pkgdesc="Graph Calculator"
+url="http://kde.org/applications/education/kalgebra/"
+arch=('i686' 'x86_64')
+license=('GPL' 'LGPL' 'FDL')
+groups=('kde-applications' 'kdeedu')
+depends=('analitza' 'kio' 'qt5-webkit' 'hicolor-icon-theme')
+makedepends=('extra-cmake-modules' 'kdoctools' 'python' 'glu')
+replaces=('kdeedu-kalgebra')
+conflicts=('kdeedu-kalgebra' 'kdeedu-analitza')
+install=${pkgname}.install
+source=("http://download.kde.org/unstable/applications/${pkgver}/src/kalgebra-${pkgver}.tar.xz")
+sha1sums=('2e5ca5de263986b663871c8b656862dc6dc5924f')
+
+prepare() {
+ mkdir -p build
+}
+
+build() {
+ cd build
+ cmake ../kalgebra-${pkgver} \
+ -DCMAKE_BUILD_TYPE=Release \
+ -DKDE4_BUILD_TESTS=OFF \
+ -DCMAKE_INSTALL_PREFIX=/usr
+ make
+}
+
+package() {
+ cd build
+ make DESTDIR="${pkgdir}" install
+}
Copied: kalgebra/repos/staging-x86_64/kalgebra.install (from rev 251314, kalgebra/kde-unstable/kalgebra.install)
===================================================================
--- staging-x86_64/kalgebra.install (rev 0)
+++ staging-x86_64/kalgebra.install 2015-11-19 20:51:03 UTC (rev 251315)
@@ -0,0 +1,12 @@
+post_install() {
+ xdg-icon-resource forceupdate --theme hicolor &> /dev/null
+ update-desktop-database -q
+}
+
+post_upgrade() {
+ post_install
+}
+
+post_remove() {
+ post_install
+}
More information about the arch-commits
mailing list