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

Andrea Scarpino andrea at archlinux.org
Sun Jan 25 12:22:08 UTC 2015


    Date: Sunday, January 25, 2015 @ 13:22:08
  Author: andrea
Revision: 229983

upgpkg: konsolepart4 4.14.3-5

Avoid apps to load the old konsole (FS#43558)

Modified:
  konsolepart4/trunk/PKGBUILD

----------+
 PKGBUILD |   12 ++++++++----
 1 file changed, 8 insertions(+), 4 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2015-01-25 12:21:10 UTC (rev 229982)
+++ PKGBUILD	2015-01-25 12:22:08 UTC (rev 229983)
@@ -4,7 +4,7 @@
 
 pkgname=konsolepart4
 pkgver=4.14.3
-pkgrel=4
+pkgrel=5
 arch=('i686' 'x86_64')
 url='http://kde.org/applications/system/konsole/'
 pkgdesc="KDE terminal part"
@@ -16,8 +16,11 @@
 source=("http://download.kde.org/stable/${pkgver}/src/konsole-${pkgver}.tar.xz")
 sha1sums=('5ae78061f38f06f80ee10f4475ff33d1c0843b4d')
 
+prepare() {
+  mkdir build
+}
+
 build() {
-  mkdir build
   cd build
   cmake ../konsole-${pkgver} \
     -DCMAKE_BUILD_TYPE=Release \
@@ -30,6 +33,7 @@
   cd build
   make DESTDIR="${pkgdir}" install
 
-# provided by konsole
-  rm -fr "$pkgdir"/usr/{bin,share/applications}
+  # provided by konsole
+  rm -r "$pkgdir"/usr/{bin,share/applications}
+  rm "${pkgdir}"/usr/lib/libkdeinit4_konsole.so
 }



More information about the arch-commits mailing list