[arch-commits] Commit in icmake/trunk (PKGBUILD disable-clear-screen.patch)

Konstantin Gizdov kgizdov at archlinux.org
Mon Aug 10 12:15:28 UTC 2020


    Date: Monday, August 10, 2020 @ 12:15:28
  Author: kgizdov
Revision: 673643

upgpkg: icmake 9.03.01-1

Modified:
  icmake/trunk/PKGBUILD
  icmake/trunk/disable-clear-screen.patch

----------------------------+
 PKGBUILD                   |    9 +++++----
 disable-clear-screen.patch |   21 ++++++++++-----------
 2 files changed, 15 insertions(+), 15 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2020-08-10 12:13:59 UTC (rev 673642)
+++ PKGBUILD	2020-08-10 12:15:28 UTC (rev 673643)
@@ -1,10 +1,11 @@
 # Maintainer: Baptiste Jonglez <archlinux at bitsofnetworks.org>
+# Maintainer: Konstantin Gizdov <arch at kge dot pw>
 # Contributor: Christian Hesse <mail at eworm.de>
 # Contributor: Andreas Wagner <andreas.wagner at lowfatcomputing.org>
 # Contributor: Jeff Mickey <jeff at archlinux.org>
 
 pkgname=icmake
-pkgver=9.02.09
+pkgver=9.03.01
 pkgrel=1
 pkgdesc='A program maintenance (make) utility using a C-like grammar'
 arch=('x86_64')
@@ -12,12 +13,12 @@
 license=('GPL3')
 source=("https://gitlab.com/fbb-git/${pkgname}/-/archive/${pkgver}/${pkgname}-${pkgver}.tar.gz"
         "disable-clear-screen.patch")
-sha256sums=('286c2673ce962a5a3de597884452e58743d650b29c247c47849e5b701f1cd01f'
-            'a5edbdb70ab6748c7124979f9af08884b4d7b16fa3ece8ff39d5986e6fd20592')
+sha256sums=('7c5c091f58f576da580238c5e3636e2038d9ecf5efb6562ae7e402910d9036e6'
+            'f141389f6a42ac8a66b8abcd1a2649e3d41cd661ab0c5fdafab0c37a8fa793ba')
 
 prepare() {
 	cd "${srcdir}/${pkgname}-${pkgver}"
-        patch -p1 < "${srcdir}/disable-clear-screen.patch"
+        patch -Np1 -i "${srcdir}/disable-clear-screen.patch"
 }
 
 build() {

Modified: disable-clear-screen.patch
===================================================================
--- disable-clear-screen.patch	2020-08-10 12:13:59 UTC (rev 673642)
+++ disable-clear-screen.patch	2020-08-10 12:15:28 UTC (rev 673643)
@@ -7,16 +7,15 @@
     This tends to fail when building in a clean chroot (e.g. yodl) because of
     missing terminal definition, and is of dubious interest anyway.
 
-diff --git a/icmake/scripts/icmbuild.in b/icmake/scripts/icmbuild.in
-index c31e925..dba9607 100644
---- a/icmake/scripts/icmbuild.in
-+++ b/icmake/scripts/icmbuild.in
-@@ -618,7 +618,7 @@ void install(string what, string path)
+diff --color -aur icmake-9.03.01-old/icmake/scripts/ib/main icmake-9.03.01-new/icmake/scripts/ib/main
+--- icmake-9.03.01-old/icmake/scripts/ib/main	2020-01-13 11:30:09.000000000 +0200
++++ icmake-9.03.01-new/icmake/scripts/ib/main	2020-08-10 15:10:44.705348577 +0300
+@@ -34,7 +34,7 @@
+         g_option = _c;
+     #endif
  
- void clearScreen(int cls)
- {
--    if (cls)
-+    if (0)
-         system("tput clear");
- }
+-    if (g_option == _c)             // clear the screen before compilation
++    if (0)                          // clear the screen before compilation
+         system("tput clear");       // starts
  
+                                     // compile all sources except MAIN



More information about the arch-commits mailing list