[arch-commits] Commit in kdeedu-rocs/repos (6 files)
Felix Yan
fyan at archlinux.org
Wed Nov 19 18:02:49 UTC 2014
Date: Wednesday, November 19, 2014 @ 19:02:48
Author: fyan
Revision: 226533
archrelease: copy trunk to testing-i686, testing-x86_64
Added:
kdeedu-rocs/repos/testing-i686/
kdeedu-rocs/repos/testing-i686/PKGBUILD
(from rev 226532, kdeedu-rocs/trunk/PKGBUILD)
kdeedu-rocs/repos/testing-i686/kdeedu-rocs.install
(from rev 226532, kdeedu-rocs/trunk/kdeedu-rocs.install)
kdeedu-rocs/repos/testing-x86_64/
kdeedu-rocs/repos/testing-x86_64/PKGBUILD
(from rev 226532, kdeedu-rocs/trunk/PKGBUILD)
kdeedu-rocs/repos/testing-x86_64/kdeedu-rocs.install
(from rev 226532, kdeedu-rocs/trunk/kdeedu-rocs.install)
------------------------------------+
testing-i686/PKGBUILD | 32 ++++++++++++++++++++++++++++++++
testing-i686/kdeedu-rocs.install | 12 ++++++++++++
testing-x86_64/PKGBUILD | 32 ++++++++++++++++++++++++++++++++
testing-x86_64/kdeedu-rocs.install | 12 ++++++++++++
4 files changed, 88 insertions(+)
Copied: kdeedu-rocs/repos/testing-i686/PKGBUILD (from rev 226532, kdeedu-rocs/trunk/PKGBUILD)
===================================================================
--- testing-i686/PKGBUILD (rev 0)
+++ testing-i686/PKGBUILD 2014-11-19 18:02:48 UTC (rev 226533)
@@ -0,0 +1,32 @@
+# $Id$
+# Maintainer: Andrea Scarpino <andrea at archlinux.org>
+
+pkgname=kdeedu-rocs
+pkgver=4.14.3
+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=('kdebase-runtime')
+makedepends=('cmake' 'automoc4' 'boost')
+install=${pkgname}.install
+source=("http://download.kde.org/stable/${pkgver}/src/rocs-${pkgver}.tar.xz")
+sha1sums=('a6fac0cee375f8bdb8c9241bde4bf9dda0f38704')
+
+build() {
+ cd "${srcdir}"
+ mkdir build
+ cd build
+ cmake ../rocs-${pkgver} \
+ -DCMAKE_BUILD_TYPE=Release \
+ -DKDE4_BUILD_TESTS=OFF \
+ -DCMAKE_INSTALL_PREFIX=/usr
+ make
+}
+
+package() {
+ cd "${srcdir}"/build
+ make DESTDIR="${pkgdir}" install
+}
Copied: kdeedu-rocs/repos/testing-i686/kdeedu-rocs.install (from rev 226532, kdeedu-rocs/trunk/kdeedu-rocs.install)
===================================================================
--- testing-i686/kdeedu-rocs.install (rev 0)
+++ testing-i686/kdeedu-rocs.install 2014-11-19 18:02:48 UTC (rev 226533)
@@ -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: kdeedu-rocs/repos/testing-x86_64/PKGBUILD (from rev 226532, kdeedu-rocs/trunk/PKGBUILD)
===================================================================
--- testing-x86_64/PKGBUILD (rev 0)
+++ testing-x86_64/PKGBUILD 2014-11-19 18:02:48 UTC (rev 226533)
@@ -0,0 +1,32 @@
+# $Id$
+# Maintainer: Andrea Scarpino <andrea at archlinux.org>
+
+pkgname=kdeedu-rocs
+pkgver=4.14.3
+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=('kdebase-runtime')
+makedepends=('cmake' 'automoc4' 'boost')
+install=${pkgname}.install
+source=("http://download.kde.org/stable/${pkgver}/src/rocs-${pkgver}.tar.xz")
+sha1sums=('a6fac0cee375f8bdb8c9241bde4bf9dda0f38704')
+
+build() {
+ cd "${srcdir}"
+ mkdir build
+ cd build
+ cmake ../rocs-${pkgver} \
+ -DCMAKE_BUILD_TYPE=Release \
+ -DKDE4_BUILD_TESTS=OFF \
+ -DCMAKE_INSTALL_PREFIX=/usr
+ make
+}
+
+package() {
+ cd "${srcdir}"/build
+ make DESTDIR="${pkgdir}" install
+}
Copied: kdeedu-rocs/repos/testing-x86_64/kdeedu-rocs.install (from rev 226532, kdeedu-rocs/trunk/kdeedu-rocs.install)
===================================================================
--- testing-x86_64/kdeedu-rocs.install (rev 0)
+++ testing-x86_64/kdeedu-rocs.install 2014-11-19 18:02:48 UTC (rev 226533)
@@ -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