[arch-commits] Commit in kdeedu-rocs/repos (6 files)
Felix Yan
fyan at archlinux.org
Wed Feb 4 06:44:41 UTC 2015
Date: Wednesday, February 4, 2015 @ 07:44:41
Author: fyan
Revision: 230526
archrelease: copy trunk to testing-i686, testing-x86_64
Added:
kdeedu-rocs/repos/testing-i686/
kdeedu-rocs/repos/testing-i686/PKGBUILD
(from rev 230525, kdeedu-rocs/trunk/PKGBUILD)
kdeedu-rocs/repos/testing-i686/kdeedu-rocs.install
(from rev 230525, kdeedu-rocs/trunk/kdeedu-rocs.install)
kdeedu-rocs/repos/testing-x86_64/
kdeedu-rocs/repos/testing-x86_64/PKGBUILD
(from rev 230525, kdeedu-rocs/trunk/PKGBUILD)
kdeedu-rocs/repos/testing-x86_64/kdeedu-rocs.install
(from rev 230525, kdeedu-rocs/trunk/kdeedu-rocs.install)
------------------------------------+
testing-i686/PKGBUILD | 33 +++++++++++++++++++++++++++++++++
testing-i686/kdeedu-rocs.install | 12 ++++++++++++
testing-x86_64/PKGBUILD | 33 +++++++++++++++++++++++++++++++++
testing-x86_64/kdeedu-rocs.install | 12 ++++++++++++
4 files changed, 90 insertions(+)
Copied: kdeedu-rocs/repos/testing-i686/PKGBUILD (from rev 230525, kdeedu-rocs/trunk/PKGBUILD)
===================================================================
--- testing-i686/PKGBUILD (rev 0)
+++ testing-i686/PKGBUILD 2015-02-04 06:44:41 UTC (rev 230526)
@@ -0,0 +1,33 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Andrea Scarpino <andrea at archlinux.org>
+
+pkgname=kdeedu-rocs
+pkgver=14.12.2
+pkgrel=1
+pkgdesc="Rocs Graph Theory"
+url="http://kde.org/applications/education/rocs/"
+arch=('i686' 'x86_64')
+license=('GPL' 'LGPL' 'FDL')
+groups=('kde' 'kdeedu')
+depends=('kdebase-runtime' 'grantlee-qt4')
+makedepends=('cmake' 'automoc4' 'boost')
+install=${pkgname}.install
+source=("http://download.kde.org/stable/applications/${pkgver}/src/rocs-${pkgver}.tar.xz")
+sha1sums=('771287e6597ed0f61f9be4b9dc8e9ed980662c8f')
+
+build() {
+ cd "${srcdir}"
+ mkdir build
+ cd build
+ cmake ../rocs-${pkgver} \
+ -DCMAKE_BUILD_TYPE=Release \
+ -DKDE4_BUILD_TESTS=OFF \
+ -DCMAKE_INSTALL_PREFIX=/usr
+ make
+}
+
+package() {
+ cd "${srcdir}"/build
+ make DESTDIR="${pkgdir}" install
+}
Copied: kdeedu-rocs/repos/testing-i686/kdeedu-rocs.install (from rev 230525, kdeedu-rocs/trunk/kdeedu-rocs.install)
===================================================================
--- testing-i686/kdeedu-rocs.install (rev 0)
+++ testing-i686/kdeedu-rocs.install 2015-02-04 06:44:41 UTC (rev 230526)
@@ -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-rocs/repos/testing-x86_64/PKGBUILD (from rev 230525, kdeedu-rocs/trunk/PKGBUILD)
===================================================================
--- testing-x86_64/PKGBUILD (rev 0)
+++ testing-x86_64/PKGBUILD 2015-02-04 06:44:41 UTC (rev 230526)
@@ -0,0 +1,33 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Andrea Scarpino <andrea at archlinux.org>
+
+pkgname=kdeedu-rocs
+pkgver=14.12.2
+pkgrel=1
+pkgdesc="Rocs Graph Theory"
+url="http://kde.org/applications/education/rocs/"
+arch=('i686' 'x86_64')
+license=('GPL' 'LGPL' 'FDL')
+groups=('kde' 'kdeedu')
+depends=('kdebase-runtime' 'grantlee-qt4')
+makedepends=('cmake' 'automoc4' 'boost')
+install=${pkgname}.install
+source=("http://download.kde.org/stable/applications/${pkgver}/src/rocs-${pkgver}.tar.xz")
+sha1sums=('771287e6597ed0f61f9be4b9dc8e9ed980662c8f')
+
+build() {
+ cd "${srcdir}"
+ mkdir build
+ cd build
+ cmake ../rocs-${pkgver} \
+ -DCMAKE_BUILD_TYPE=Release \
+ -DKDE4_BUILD_TESTS=OFF \
+ -DCMAKE_INSTALL_PREFIX=/usr
+ make
+}
+
+package() {
+ cd "${srcdir}"/build
+ make DESTDIR="${pkgdir}" install
+}
Copied: kdeedu-rocs/repos/testing-x86_64/kdeedu-rocs.install (from rev 230525, kdeedu-rocs/trunk/kdeedu-rocs.install)
===================================================================
--- testing-x86_64/kdeedu-rocs.install (rev 0)
+++ testing-x86_64/kdeedu-rocs.install 2015-02-04 06:44:41 UTC (rev 230526)
@@ -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