Date: Tuesday, December 8, 2015 @ 13:11:20
  Author: foutrelis
Revision: 253738

archrelease: copy trunk to staging-i686, staging-x86_64

Added:
  rocs/repos/staging-i686/
  rocs/repos/staging-i686/PKGBUILD
    (from rev 253737, rocs/trunk/PKGBUILD)
  rocs/repos/staging-i686/rocs.install
    (from rev 253737, rocs/trunk/rocs.install)
  rocs/repos/staging-x86_64/
  rocs/repos/staging-x86_64/PKGBUILD
    (from rev 253737, rocs/trunk/PKGBUILD)
  rocs/repos/staging-x86_64/rocs.install
    (from rev 253737, rocs/trunk/rocs.install)

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

Copied: rocs/repos/staging-i686/PKGBUILD (from rev 253737, rocs/trunk/PKGBUILD)
===================================================================
--- staging-i686/PKGBUILD                               (rev 0)
+++ staging-i686/PKGBUILD       2015-12-08 12:11:20 UTC (rev 253738)
@@ -0,0 +1,36 @@
+# $Id$
+# Maintainer: Felix Yan <[email protected]>
+# Contributor: Andrea Scarpino <[email protected]>
+
+pkgname=rocs
+pkgver=15.08.3
+pkgrel=2
+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=('8a27c83d979797c71c2672194f28bb14a5f53ed2')
+
+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/staging-i686/rocs.install (from rev 253737, 
rocs/trunk/rocs.install)
===================================================================
--- staging-i686/rocs.install                           (rev 0)
+++ staging-i686/rocs.install   2015-12-08 12:11:20 UTC (rev 253738)
@@ -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 253737, 
rocs/trunk/PKGBUILD)
===================================================================
--- staging-x86_64/PKGBUILD                             (rev 0)
+++ staging-x86_64/PKGBUILD     2015-12-08 12:11:20 UTC (rev 253738)
@@ -0,0 +1,36 @@
+# $Id$
+# Maintainer: Felix Yan <[email protected]>
+# Contributor: Andrea Scarpino <[email protected]>
+
+pkgname=rocs
+pkgver=15.08.3
+pkgrel=2
+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=('8a27c83d979797c71c2672194f28bb14a5f53ed2')
+
+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/staging-x86_64/rocs.install (from rev 253737, 
rocs/trunk/rocs.install)
===================================================================
--- staging-x86_64/rocs.install                         (rev 0)
+++ staging-x86_64/rocs.install 2015-12-08 12:11:20 UTC (rev 253738)
@@ -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
+}

Reply via email to