[arch-commits] Commit in rocs/repos (6 files)
Antonio Rojas
arojas at archlinux.org
Mon Sep 14 21:26:08 UTC 2015
Date: Monday, September 14, 2015 @ 23:26:08
Author: arojas
Revision: 246128
archrelease: copy trunk to testing-i686, testing-x86_64
Added:
rocs/repos/testing-i686/
rocs/repos/testing-i686/PKGBUILD
(from rev 246127, rocs/trunk/PKGBUILD)
rocs/repos/testing-i686/rocs.install
(from rev 246127, rocs/trunk/rocs.install)
rocs/repos/testing-x86_64/
rocs/repos/testing-x86_64/PKGBUILD
(from rev 246127, rocs/trunk/PKGBUILD)
rocs/repos/testing-x86_64/rocs.install
(from rev 246127, rocs/trunk/rocs.install)
-----------------------------+
testing-i686/PKGBUILD | 36 ++++++++++++++++++++++++++++++++++++
testing-i686/rocs.install | 12 ++++++++++++
testing-x86_64/PKGBUILD | 36 ++++++++++++++++++++++++++++++++++++
testing-x86_64/rocs.install | 12 ++++++++++++
4 files changed, 96 insertions(+)
Copied: rocs/repos/testing-i686/PKGBUILD (from rev 246127, rocs/trunk/PKGBUILD)
===================================================================
--- testing-i686/PKGBUILD (rev 0)
+++ testing-i686/PKGBUILD 2015-09-14 21:26:08 UTC (rev 246128)
@@ -0,0 +1,36 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Andrea Scarpino <andrea at archlinux.org>
+
+pkgname=rocs
+pkgver=15.08.1
+pkgrel=1
+pkgdesc="Rocs Graph Theory"
+url="http://kde.org/applications/education/rocs/"
+arch=('i686' 'x86_64')
+license=('GPL' 'LGPL' 'FDL')
+groups=('kde-applications' 'kdeedu')
+depends=('grantlee-qt5' 'ktexteditor' 'kdeclarative' 'qt5-webkit')
+makedepends=('extra-cmake-modules' 'python' 'kdoctools' 'boost')
+install=${pkgname}.install
+conflicts=('kdeedu-rocs')
+replaces=('kdeedu-rocs')
+source=("http://download.kde.org/stable/applications/${pkgver}/src/rocs-${pkgver}.tar.xz")
+sha1sums=('3e84e215053dc341a4446d9b2b79312d9504228e')
+
+build() {
+ mkdir -p build
+ cd build
+ cmake ../rocs-${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: rocs/repos/testing-i686/rocs.install (from rev 246127, rocs/trunk/rocs.install)
===================================================================
--- testing-i686/rocs.install (rev 0)
+++ testing-i686/rocs.install 2015-09-14 21:26:08 UTC (rev 246128)
@@ -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: rocs/repos/testing-x86_64/PKGBUILD (from rev 246127, rocs/trunk/PKGBUILD)
===================================================================
--- testing-x86_64/PKGBUILD (rev 0)
+++ testing-x86_64/PKGBUILD 2015-09-14 21:26:08 UTC (rev 246128)
@@ -0,0 +1,36 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Andrea Scarpino <andrea at archlinux.org>
+
+pkgname=rocs
+pkgver=15.08.1
+pkgrel=1
+pkgdesc="Rocs Graph Theory"
+url="http://kde.org/applications/education/rocs/"
+arch=('i686' 'x86_64')
+license=('GPL' 'LGPL' 'FDL')
+groups=('kde-applications' 'kdeedu')
+depends=('grantlee-qt5' 'ktexteditor' 'kdeclarative' 'qt5-webkit')
+makedepends=('extra-cmake-modules' 'python' 'kdoctools' 'boost')
+install=${pkgname}.install
+conflicts=('kdeedu-rocs')
+replaces=('kdeedu-rocs')
+source=("http://download.kde.org/stable/applications/${pkgver}/src/rocs-${pkgver}.tar.xz")
+sha1sums=('3e84e215053dc341a4446d9b2b79312d9504228e')
+
+build() {
+ mkdir -p build
+ cd build
+ cmake ../rocs-${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: rocs/repos/testing-x86_64/rocs.install (from rev 246127, rocs/trunk/rocs.install)
===================================================================
--- testing-x86_64/rocs.install (rev 0)
+++ testing-x86_64/rocs.install 2015-09-14 21:26:08 UTC (rev 246128)
@@ -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