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

Antonio Rojas arojas at archlinux.org
Wed Jul 29 07:41:27 UTC 2015


    Date: Wednesday, July 29, 2015 @ 09:41:26
  Author: arojas
Revision: 242692

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

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

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

Copied: rocs/repos/kde-unstable-i686/PKGBUILD (from rev 242691, rocs/kde-unstable/PKGBUILD)
===================================================================
--- kde-unstable-i686/PKGBUILD	                        (rev 0)
+++ kde-unstable-i686/PKGBUILD	2015-07-29 07:41:26 UTC (rev 242692)
@@ -0,0 +1,36 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Andrea Scarpino <andrea at archlinux.org>
+
+pkgname=rocs
+pkgver=15.07.80
+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/unstable/applications/${pkgver}/src/rocs-${pkgver}.tar.xz")
+sha1sums=('b4b678428fb51b1d877f3997dc422620b98d437a')
+
+build() {
+  mkdir 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/kde-unstable-i686/rocs.install (from rev 242691, rocs/kde-unstable/rocs.install)
===================================================================
--- kde-unstable-i686/rocs.install	                        (rev 0)
+++ kde-unstable-i686/rocs.install	2015-07-29 07:41:26 UTC (rev 242692)
@@ -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/kde-unstable-x86_64/PKGBUILD (from rev 242691, rocs/kde-unstable/PKGBUILD)
===================================================================
--- kde-unstable-x86_64/PKGBUILD	                        (rev 0)
+++ kde-unstable-x86_64/PKGBUILD	2015-07-29 07:41:26 UTC (rev 242692)
@@ -0,0 +1,36 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Andrea Scarpino <andrea at archlinux.org>
+
+pkgname=rocs
+pkgver=15.07.80
+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/unstable/applications/${pkgver}/src/rocs-${pkgver}.tar.xz")
+sha1sums=('b4b678428fb51b1d877f3997dc422620b98d437a')
+
+build() {
+  mkdir 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/kde-unstable-x86_64/rocs.install (from rev 242691, rocs/kde-unstable/rocs.install)
===================================================================
--- kde-unstable-x86_64/rocs.install	                        (rev 0)
+++ kde-unstable-x86_64/rocs.install	2015-07-29 07:41:26 UTC (rev 242692)
@@ -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