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

Antonio Rojas arojas at archlinux.org
Fri Apr 10 19:42:35 UTC 2015


    Date: Friday, April 10, 2015 @ 21:42:35
  Author: arojas
Revision: 236215

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

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

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

Copied: kompare/repos/staging-i686/PKGBUILD (from rev 236214, kompare/trunk/PKGBUILD)
===================================================================
--- staging-i686/PKGBUILD	                        (rev 0)
+++ staging-i686/PKGBUILD	2015-04-10 19:42:35 UTC (rev 236215)
@@ -0,0 +1,39 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Andrea Scarpino <andrea at archlinux.org>
+
+pkgname=kompare
+pkgver=15.04.0
+pkgrel=1
+pkgdesc='Diff/Patch Frontend'
+url='http://kde.org/applications/development/kompare/'
+arch=('i686' 'x86_64')
+license=('GPL' 'LGPL' 'FDL')
+groups=('kde-applications' 'kdesdk')
+depends=('libkomparediff2' 'ktexteditor')
+makedepends=('extra-cmake-modules' 'python' 'kdoctools')
+install=${pkgname}.install
+conflicts=('kdesdk-kompare')
+replaces=('kdesdk-kompare')
+source=("http://download.kde.org/stable/applications/${pkgver}/src/kompare-${pkgver}.tar.xz")
+sha1sums=('c35f3ee00012ac48d3042ab05dc31c610bea76ba')
+
+prepare() {
+  mkdir build
+}
+
+build() {
+  cd build
+  cmake ../kompare-${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: kompare/repos/staging-i686/kompare.install (from rev 236214, kompare/trunk/kompare.install)
===================================================================
--- staging-i686/kompare.install	                        (rev 0)
+++ staging-i686/kompare.install	2015-04-10 19:42:35 UTC (rev 236215)
@@ -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: kompare/repos/staging-x86_64/PKGBUILD (from rev 236214, kompare/trunk/PKGBUILD)
===================================================================
--- staging-x86_64/PKGBUILD	                        (rev 0)
+++ staging-x86_64/PKGBUILD	2015-04-10 19:42:35 UTC (rev 236215)
@@ -0,0 +1,39 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Andrea Scarpino <andrea at archlinux.org>
+
+pkgname=kompare
+pkgver=15.04.0
+pkgrel=1
+pkgdesc='Diff/Patch Frontend'
+url='http://kde.org/applications/development/kompare/'
+arch=('i686' 'x86_64')
+license=('GPL' 'LGPL' 'FDL')
+groups=('kde-applications' 'kdesdk')
+depends=('libkomparediff2' 'ktexteditor')
+makedepends=('extra-cmake-modules' 'python' 'kdoctools')
+install=${pkgname}.install
+conflicts=('kdesdk-kompare')
+replaces=('kdesdk-kompare')
+source=("http://download.kde.org/stable/applications/${pkgver}/src/kompare-${pkgver}.tar.xz")
+sha1sums=('c35f3ee00012ac48d3042ab05dc31c610bea76ba')
+
+prepare() {
+  mkdir build
+}
+
+build() {
+  cd build
+  cmake ../kompare-${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: kompare/repos/staging-x86_64/kompare.install (from rev 236214, kompare/trunk/kompare.install)
===================================================================
--- staging-x86_64/kompare.install	                        (rev 0)
+++ staging-x86_64/kompare.install	2015-04-10 19:42:35 UTC (rev 236215)
@@ -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