[arch-commits] Commit in rocs/repos (6 files)

Antonio Rojas arojas at archlinux.org
Sat Mar 26 23:06:06 UTC 2016


    Date: Sunday, March 27, 2016 @ 00:06:06
  Author: arojas
Revision: 262692

archrelease: copy kde-unstable to staging-i686, staging-x86_64

Added:
  rocs/repos/staging-i686/
  rocs/repos/staging-i686/PKGBUILD
    (from rev 262691, rocs/kde-unstable/PKGBUILD)
  rocs/repos/staging-i686/rocs.install
    (from rev 262691, rocs/kde-unstable/rocs.install)
  rocs/repos/staging-x86_64/
  rocs/repos/staging-x86_64/PKGBUILD
    (from rev 262691, rocs/kde-unstable/PKGBUILD)
  rocs/repos/staging-x86_64/rocs.install
    (from rev 262691, rocs/kde-unstable/rocs.install)

-----------------------------+
 staging-i686/PKGBUILD       |   39 +++++++++++++++++++++++++++++++++++++++
 staging-i686/rocs.install   |   12 ++++++++++++
 staging-x86_64/PKGBUILD     |   39 +++++++++++++++++++++++++++++++++++++++
 staging-x86_64/rocs.install |   12 ++++++++++++
 4 files changed, 102 insertions(+)

Copied: rocs/repos/staging-i686/PKGBUILD (from rev 262691, rocs/kde-unstable/PKGBUILD)
===================================================================
--- staging-i686/PKGBUILD	                        (rev 0)
+++ staging-i686/PKGBUILD	2016-03-26 23:06:06 UTC (rev 262692)
@@ -0,0 +1,39 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Andrea Scarpino <andrea at archlinux.org>
+
+pkgname=rocs
+pkgver=16.03.80
+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/unstable/applications/$pkgver/src/$pkgname-$pkgver.tar.xz")
+sha1sums=('456df3695df1d58ccd51fdc12981350d9ddc509f')
+
+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/staging-i686/rocs.install (from rev 262691, rocs/kde-unstable/rocs.install)
===================================================================
--- staging-i686/rocs.install	                        (rev 0)
+++ staging-i686/rocs.install	2016-03-26 23:06:06 UTC (rev 262692)
@@ -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/staging-x86_64/PKGBUILD (from rev 262691, rocs/kde-unstable/PKGBUILD)
===================================================================
--- staging-x86_64/PKGBUILD	                        (rev 0)
+++ staging-x86_64/PKGBUILD	2016-03-26 23:06:06 UTC (rev 262692)
@@ -0,0 +1,39 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Andrea Scarpino <andrea at archlinux.org>
+
+pkgname=rocs
+pkgver=16.03.80
+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/unstable/applications/$pkgver/src/$pkgname-$pkgver.tar.xz")
+sha1sums=('456df3695df1d58ccd51fdc12981350d9ddc509f')
+
+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/staging-x86_64/rocs.install (from rev 262691, rocs/kde-unstable/rocs.install)
===================================================================
--- staging-x86_64/rocs.install	                        (rev 0)
+++ staging-x86_64/rocs.install	2016-03-26 23:06:06 UTC (rev 262692)
@@ -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