[arch-commits] Commit in rocs/repos (6 files)
Antonio Rojas
arojas at archlinux.org
Tue Feb 16 08:21:42 UTC 2016
Date: Tuesday, February 16, 2016 @ 09:21:42
Author: arojas
Revision: 259447
archrelease: copy trunk to testing-i686, testing-x86_64
Added:
rocs/repos/testing-i686/
rocs/repos/testing-i686/PKGBUILD
(from rev 259446, rocs/trunk/PKGBUILD)
rocs/repos/testing-i686/rocs.install
(from rev 259446, rocs/trunk/rocs.install)
rocs/repos/testing-x86_64/
rocs/repos/testing-x86_64/PKGBUILD
(from rev 259446, rocs/trunk/PKGBUILD)
rocs/repos/testing-x86_64/rocs.install
(from rev 259446, rocs/trunk/rocs.install)
-----------------------------+
testing-i686/PKGBUILD | 39 +++++++++++++++++++++++++++++++++++++++
testing-i686/rocs.install | 12 ++++++++++++
testing-x86_64/PKGBUILD | 39 +++++++++++++++++++++++++++++++++++++++
testing-x86_64/rocs.install | 12 ++++++++++++
4 files changed, 102 insertions(+)
Copied: rocs/repos/testing-i686/PKGBUILD (from rev 259446, rocs/trunk/PKGBUILD)
===================================================================
--- testing-i686/PKGBUILD (rev 0)
+++ testing-i686/PKGBUILD 2016-02-16 08:21:42 UTC (rev 259447)
@@ -0,0 +1,39 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Andrea Scarpino <andrea at archlinux.org>
+
+pkgname=rocs
+pkgver=15.12.2
+pkgrel=1
+pkgdesc="Graph Theory IDE"
+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' 'hicolor-icon-theme')
+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/$pkgname-$pkgver.tar.xz")
+sha1sums=('cf07f2e90402c1c64cc369b0b8c7e2eeb301eb7c')
+
+prepare() {
+ mkdir -p build
+}
+
+build() {
+ cd build
+ cmake ../$pkgname-$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 build
+ make DESTDIR="$pkgdir" install
+}
Copied: rocs/repos/testing-i686/rocs.install (from rev 259446, rocs/trunk/rocs.install)
===================================================================
--- testing-i686/rocs.install (rev 0)
+++ testing-i686/rocs.install 2016-02-16 08:21:42 UTC (rev 259447)
@@ -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 259446, rocs/trunk/PKGBUILD)
===================================================================
--- testing-x86_64/PKGBUILD (rev 0)
+++ testing-x86_64/PKGBUILD 2016-02-16 08:21:42 UTC (rev 259447)
@@ -0,0 +1,39 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Andrea Scarpino <andrea at archlinux.org>
+
+pkgname=rocs
+pkgver=15.12.2
+pkgrel=1
+pkgdesc="Graph Theory IDE"
+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' 'hicolor-icon-theme')
+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/$pkgname-$pkgver.tar.xz")
+sha1sums=('cf07f2e90402c1c64cc369b0b8c7e2eeb301eb7c')
+
+prepare() {
+ mkdir -p build
+}
+
+build() {
+ cd build
+ cmake ../$pkgname-$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 build
+ make DESTDIR="$pkgdir" install
+}
Copied: rocs/repos/testing-x86_64/rocs.install (from rev 259446, rocs/trunk/rocs.install)
===================================================================
--- testing-x86_64/rocs.install (rev 0)
+++ testing-x86_64/rocs.install 2016-02-16 08:21:42 UTC (rev 259447)
@@ -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