[arch-commits] Commit in kompare (7 files)

Antonio Rojas arojas at archlinux.org
Sat Mar 14 10:41:17 UTC 2015


    Date: Saturday, March 14, 2015 @ 11:41:17
  Author: arojas
Revision: 233758

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

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

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

Copied: kompare/repos/kde-unstable-i686/PKGBUILD (from rev 233757, kompare/kde-unstable/PKGBUILD)
===================================================================
--- repos/kde-unstable-i686/PKGBUILD	                        (rev 0)
+++ repos/kde-unstable-i686/PKGBUILD	2015-03-14 10:41:17 UTC (rev 233758)
@@ -0,0 +1,39 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Andrea Scarpino <andrea at archlinux.org>
+
+pkgname=kompare
+pkgver=15.03.90
+pkgrel=1
+pkgdesc='Diff/Patch Frontend'
+url='http://kde.org/applications/development/kompare/'
+arch=('i686' 'x86_64')
+license=('GPL' 'LGPL' 'FDL')
+groups=('kde' 'kdesdk')
+depends=('libkomparediff2' 'ktexteditor')
+makedepends=('extra-cmake-modules' 'python' 'kdoctools')
+install=${pkgname}.install
+conflicts=('kdesdk-kompare')
+replaces=('kdesdk-kompare')
+source=("http://download.kde.org/unstable/applications/${pkgver}/src/kompare-${pkgver}.tar.xz")
+sha1sums=('3360c78ea918c9b37676405373834edfedc4cd9d')
+
+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/kde-unstable-i686/kompare.install (from rev 233757, kompare/kde-unstable/kompare.install)
===================================================================
--- repos/kde-unstable-i686/kompare.install	                        (rev 0)
+++ repos/kde-unstable-i686/kompare.install	2015-03-14 10:41:17 UTC (rev 233758)
@@ -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/kde-unstable-x86_64/PKGBUILD (from rev 233757, kompare/kde-unstable/PKGBUILD)
===================================================================
--- repos/kde-unstable-x86_64/PKGBUILD	                        (rev 0)
+++ repos/kde-unstable-x86_64/PKGBUILD	2015-03-14 10:41:17 UTC (rev 233758)
@@ -0,0 +1,39 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Andrea Scarpino <andrea at archlinux.org>
+
+pkgname=kompare
+pkgver=15.03.90
+pkgrel=1
+pkgdesc='Diff/Patch Frontend'
+url='http://kde.org/applications/development/kompare/'
+arch=('i686' 'x86_64')
+license=('GPL' 'LGPL' 'FDL')
+groups=('kde' 'kdesdk')
+depends=('libkomparediff2' 'ktexteditor')
+makedepends=('extra-cmake-modules' 'python' 'kdoctools')
+install=${pkgname}.install
+conflicts=('kdesdk-kompare')
+replaces=('kdesdk-kompare')
+source=("http://download.kde.org/unstable/applications/${pkgver}/src/kompare-${pkgver}.tar.xz")
+sha1sums=('3360c78ea918c9b37676405373834edfedc4cd9d')
+
+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/kde-unstable-x86_64/kompare.install (from rev 233757, kompare/kde-unstable/kompare.install)
===================================================================
--- repos/kde-unstable-x86_64/kompare.install	                        (rev 0)
+++ repos/kde-unstable-x86_64/kompare.install	2015-03-14 10:41:17 UTC (rev 233758)
@@ -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