[arch-commits] Commit in kompare/trunk (PKGBUILD)

Antonio Rojas arojas at archlinux.org
Thu Aug 27 22:58:15 UTC 2015


    Date: Friday, August 28, 2015 @ 00:58:14
  Author: arojas
Revision: 244943

Allow selecting files (FS#44646)

Modified:
  kompare/trunk/PKGBUILD

----------+
 PKGBUILD |   15 ++++++++++-----
 1 file changed, 10 insertions(+), 5 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2015-08-27 22:13:17 UTC (rev 244942)
+++ PKGBUILD	2015-08-27 22:58:14 UTC (rev 244943)
@@ -4,7 +4,7 @@
 
 pkgname=kompare
 pkgver=15.08.0
-pkgrel=1
+pkgrel=2
 pkgdesc='Diff/Patch Frontend'
 url='http://kde.org/applications/development/kompare/'
 arch=('i686' 'x86_64')
@@ -15,16 +15,21 @@
 install=${pkgname}.install
 conflicts=('kdesdk-kompare')
 replaces=('kdesdk-kompare')
-source=("http://download.kde.org/stable/applications/${pkgver}/src/kompare-${pkgver}.tar.xz")
-sha1sums=('0d8d981090a28d99ed2241b6d49b8ebe102fbde6')
+source=("http://download.kde.org/stable/applications/${pkgver}/src/kompare-${pkgver}.tar.xz" 'allow-selecting-files.patch')
+sha1sums=('0d8d981090a28d99ed2241b6d49b8ebe102fbde6'
+          '78b2635618d9e3f54485dc5a456f8ce1cb453b4f')
 
 prepare() {
-  mkdir build
+  mkdir -p build
+
+  cd $pkgname-$pkgver
+# Allow selecting files https://bugs.kde.org/show_bug.cgi?id=351782
+  patch -p1 -i ../allow-selecting-files.patch
 }
 
 build() {
   cd build
-  cmake ../kompare-${pkgver} \
+  cmake ../$pkgname-$pkgver \
     -DCMAKE_BUILD_TYPE=Release \
     -DBUILD_TESTING=OFF \
     -DCMAKE_INSTALL_PREFIX=/usr \



More information about the arch-commits mailing list