[arch-commits] Commit in kdeedu-kalgebra/repos (6 files)
Andrea Scarpino
andrea at archlinux.org
Sat Mar 31 07:38:38 UTC 2012
Date: Saturday, March 31, 2012 @ 03:38:37
Author: andrea
Revision: 154869
archrelease: copy trunk to staging-i686, staging-x86_64
Added:
kdeedu-kalgebra/repos/staging-i686/
kdeedu-kalgebra/repos/staging-i686/PKGBUILD
(from rev 154868, kdeedu-kalgebra/trunk/PKGBUILD)
kdeedu-kalgebra/repos/staging-i686/kdeedu-kalgebra.install
(from rev 154868, kdeedu-kalgebra/trunk/kdeedu-kalgebra.install)
kdeedu-kalgebra/repos/staging-x86_64/
kdeedu-kalgebra/repos/staging-x86_64/PKGBUILD
(from rev 154868, kdeedu-kalgebra/trunk/PKGBUILD)
kdeedu-kalgebra/repos/staging-x86_64/kdeedu-kalgebra.install
(from rev 154868, kdeedu-kalgebra/trunk/kdeedu-kalgebra.install)
----------------------------------------+
staging-i686/PKGBUILD | 31 +++++++++++++++++++++++++++++++
staging-i686/kdeedu-kalgebra.install | 12 ++++++++++++
staging-x86_64/PKGBUILD | 31 +++++++++++++++++++++++++++++++
staging-x86_64/kdeedu-kalgebra.install | 12 ++++++++++++
4 files changed, 86 insertions(+)
Copied: kdeedu-kalgebra/repos/staging-i686/PKGBUILD (from rev 154868, kdeedu-kalgebra/trunk/PKGBUILD)
===================================================================
--- staging-i686/PKGBUILD (rev 0)
+++ staging-i686/PKGBUILD 2012-03-31 07:38:37 UTC (rev 154869)
@@ -0,0 +1,31 @@
+# $Id$
+# Maintainer: Andrea Scarpino <andrea at archlinux.org>
+
+pkgname=kdeedu-kalgebra
+pkgver=4.8.2
+pkgrel=1
+pkgdesc="Graph Calculator"
+url="http://kde.org/applications/education/kalgebra/"
+arch=('i686' 'x86_64')
+license=('GPL' 'LGPL' 'FDL')
+groups=('kde' 'kdeedu')
+depends=('kdebase-runtime' 'libkdeedu' 'kdeedu-analitza')
+makedepends=('cmake' 'automoc4')
+install=${pkgname}.install
+source=("http://download.kde.org/stable/${pkgver}/src/kalgebra-${pkgver}.tar.xz")
+sha1sums=('560efe77d842c0410986b294323eabef6226e6ff')
+
+build() {
+ cd "${srcdir}"
+ mkdir build
+ cd build
+ cmake ../kalgebra-${pkgver} \
+ -DCMAKE_BUILD_TYPE=Release \
+ -DCMAKE_INSTALL_PREFIX=/usr
+ make
+}
+
+package() {
+ cd "${srcdir}"/build
+ make DESTDIR="${pkgdir}" install
+}
Copied: kdeedu-kalgebra/repos/staging-i686/kdeedu-kalgebra.install (from rev 154868, kdeedu-kalgebra/trunk/kdeedu-kalgebra.install)
===================================================================
--- staging-i686/kdeedu-kalgebra.install (rev 0)
+++ staging-i686/kdeedu-kalgebra.install 2012-03-31 07:38:37 UTC (rev 154869)
@@ -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: kdeedu-kalgebra/repos/staging-x86_64/PKGBUILD (from rev 154868, kdeedu-kalgebra/trunk/PKGBUILD)
===================================================================
--- staging-x86_64/PKGBUILD (rev 0)
+++ staging-x86_64/PKGBUILD 2012-03-31 07:38:37 UTC (rev 154869)
@@ -0,0 +1,31 @@
+# $Id$
+# Maintainer: Andrea Scarpino <andrea at archlinux.org>
+
+pkgname=kdeedu-kalgebra
+pkgver=4.8.2
+pkgrel=1
+pkgdesc="Graph Calculator"
+url="http://kde.org/applications/education/kalgebra/"
+arch=('i686' 'x86_64')
+license=('GPL' 'LGPL' 'FDL')
+groups=('kde' 'kdeedu')
+depends=('kdebase-runtime' 'libkdeedu' 'kdeedu-analitza')
+makedepends=('cmake' 'automoc4')
+install=${pkgname}.install
+source=("http://download.kde.org/stable/${pkgver}/src/kalgebra-${pkgver}.tar.xz")
+sha1sums=('560efe77d842c0410986b294323eabef6226e6ff')
+
+build() {
+ cd "${srcdir}"
+ mkdir build
+ cd build
+ cmake ../kalgebra-${pkgver} \
+ -DCMAKE_BUILD_TYPE=Release \
+ -DCMAKE_INSTALL_PREFIX=/usr
+ make
+}
+
+package() {
+ cd "${srcdir}"/build
+ make DESTDIR="${pkgdir}" install
+}
Copied: kdeedu-kalgebra/repos/staging-x86_64/kdeedu-kalgebra.install (from rev 154868, kdeedu-kalgebra/trunk/kdeedu-kalgebra.install)
===================================================================
--- staging-x86_64/kdeedu-kalgebra.install (rev 0)
+++ staging-x86_64/kdeedu-kalgebra.install 2012-03-31 07:38:37 UTC (rev 154869)
@@ -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