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

Antonio Rojas arojas at archlinux.org
Wed Aug 31 16:25:19 UTC 2016


    Date: Wednesday, August 31, 2016 @ 16:25:18
  Author: arojas
Revision: 275617

Fix background transparency (FS#50613)

Modified:
  konsole/trunk/PKGBUILD

----------+
 PKGBUILD |   24 ++++++++++++++++--------
 1 file changed, 16 insertions(+), 8 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2016-08-31 16:22:19 UTC (rev 275616)
+++ PKGBUILD	2016-08-31 16:25:18 UTC (rev 275617)
@@ -5,7 +5,7 @@
 
 pkgname=konsole
 pkgver=16.08.0
-pkgrel=1
+pkgrel=2
 arch=('i686' 'x86_64')
 url='http://kde.org/applications/system/konsole/'
 pkgdesc="Terminal"
@@ -16,14 +16,22 @@
 optdepends=('kdebase-keditbookmarks: to manage bookmarks')
 replaces=('kdebase-konsole')
 conflicts=('kdebase-konsole<4.14.3-2')
-source=("http://download.kde.org/stable/applications/${pkgver}/src/konsole-${pkgver}.tar.xz")
-sha1sums=('d1b0187afbd879f2211c2b229a2a64cbd0be952b')
+source=("http://download.kde.org/stable/applications/${pkgver}/src/konsole-${pkgver}.tar.xz"
+        kdebug-366368.patch::"https://quickgit.kde.org/?p=konsole.git&a=commitdiff&h=fca305eb&o=plain")
+sha1sums=('d1b0187afbd879f2211c2b229a2a64cbd0be952b'
+          'ab722ec281677d7ecdba2f0a269dba25bf824474')
 
+prepare() {
+  mkdir -p build
+
+  cd $pkgname-$pkgver
+# Fix background transparency http://bugs.kde.org/show_bug.cgi?id=366368
+  patch -p1 -i ../kdebug-366368.patch
+}
+
 build() {
-  cd "${srcdir}"
-  mkdir -p build
   cd build
-  cmake ../konsole-${pkgver} \
+  cmake ../$pkgname-$pkgver \
     -DCMAKE_BUILD_TYPE=Release \
     -DCMAKE_INSTALL_PREFIX=/usr \
     -DKDE_INSTALL_LIBDIR=lib \
@@ -32,6 +40,6 @@
 }
 
 package() {
-  cd "${srcdir}"/build
-  make DESTDIR="${pkgdir}" install
+  cd build
+  make DESTDIR="$pkgdir" install
 }



More information about the arch-commits mailing list