Date: Saturday, March 14, 2015 @ 11:16:08
  Author: arojas
Revision: 233673

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

Added:
  rocs/repos/
  rocs/repos/kde-unstable-i686/
  rocs/repos/kde-unstable-i686/PKGBUILD
    (from rev 233672, rocs/kde-unstable/PKGBUILD)
  rocs/repos/kde-unstable-i686/rocs.install
    (from rev 233672, rocs/kde-unstable/rocs.install)
  rocs/repos/kde-unstable-x86_64/
  rocs/repos/kde-unstable-x86_64/PKGBUILD
    (from rev 233672, rocs/kde-unstable/PKGBUILD)
  rocs/repos/kde-unstable-x86_64/rocs.install
    (from rev 233672, 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 233672, 
rocs/kde-unstable/PKGBUILD)
===================================================================
--- repos/kde-unstable-i686/PKGBUILD                            (rev 0)
+++ repos/kde-unstable-i686/PKGBUILD    2015-03-14 10:16:08 UTC (rev 233673)
@@ -0,0 +1,36 @@
+# $Id$
+# Maintainer: Felix Yan <felixonm...@archlinux.org>
+# Contributor: Andrea Scarpino <and...@archlinux.org>
+
+pkgname=rocs
+pkgver=15.03.90
+pkgrel=1
+pkgdesc="Rocs Graph Theory"
+url="http://kde.org/applications/education/rocs/";
+arch=('i686' 'x86_64')
+license=('GPL' 'LGPL' 'FDL')
+groups=('kde' 'kdeedu')
+depends=('grantlee-qt5' 'ktexteditor' 'kdeclarative' 'qt5-webkit')
+makedepends=('extra-cmake-modules' 'python' 'kdoctools')
+install=${pkgname}.install
+conflicts=('kdeedu-rocs')
+replaces=('kdeedu-rocs')
+source=("http://download.kde.org/unstable/applications/${pkgver}/src/rocs-${pkgver}.tar.xz";)
+sha1sums=('d1ca8b7ba5c106de547fd884d50c77e4401e8aa0')
+
+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 233672, 
rocs/kde-unstable/rocs.install)
===================================================================
--- repos/kde-unstable-i686/rocs.install                                (rev 0)
+++ repos/kde-unstable-i686/rocs.install        2015-03-14 10:16:08 UTC (rev 
233673)
@@ -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 233672, 
rocs/kde-unstable/PKGBUILD)
===================================================================
--- repos/kde-unstable-x86_64/PKGBUILD                          (rev 0)
+++ repos/kde-unstable-x86_64/PKGBUILD  2015-03-14 10:16:08 UTC (rev 233673)
@@ -0,0 +1,36 @@
+# $Id$
+# Maintainer: Felix Yan <felixonm...@archlinux.org>
+# Contributor: Andrea Scarpino <and...@archlinux.org>
+
+pkgname=rocs
+pkgver=15.03.90
+pkgrel=1
+pkgdesc="Rocs Graph Theory"
+url="http://kde.org/applications/education/rocs/";
+arch=('i686' 'x86_64')
+license=('GPL' 'LGPL' 'FDL')
+groups=('kde' 'kdeedu')
+depends=('grantlee-qt5' 'ktexteditor' 'kdeclarative' 'qt5-webkit')
+makedepends=('extra-cmake-modules' 'python' 'kdoctools')
+install=${pkgname}.install
+conflicts=('kdeedu-rocs')
+replaces=('kdeedu-rocs')
+source=("http://download.kde.org/unstable/applications/${pkgver}/src/rocs-${pkgver}.tar.xz";)
+sha1sums=('d1ca8b7ba5c106de547fd884d50c77e4401e8aa0')
+
+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 233672, 
rocs/kde-unstable/rocs.install)
===================================================================
--- repos/kde-unstable-x86_64/rocs.install                              (rev 0)
+++ repos/kde-unstable-x86_64/rocs.install      2015-03-14 10:16:08 UTC (rev 
233673)
@@ -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