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

Alexander Rødseth arodseth at archlinux.org
Sat Jan 23 17:21:58 UTC 2016


    Date: Saturday, January 23, 2016 @ 18:21:58
  Author: arodseth
Revision: 158705

upgpkg: tint2 0.12.4-1

Modified:
  tint2/trunk/PKGBUILD

----------+
 PKGBUILD |   21 ++++++++-------------
 1 file changed, 8 insertions(+), 13 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2016-01-23 17:18:07 UTC (rev 158704)
+++ PKGBUILD	2016-01-23 17:21:58 UTC (rev 158705)
@@ -5,7 +5,7 @@
 # Contributor: Stefan Husmann< stefan-husmann at t-online.de>
 
 pkgname=tint2
-pkgver=0.12.3
+pkgver=0.12.4
 pkgrel=1
 pkgdesc='Basic, good-looking task manager for WMs'
 arch=('x86_64' 'i686')
@@ -16,29 +16,24 @@
 makedepends=('cmake' 'startup-notification' 'git' 'ninja')
 source=("$pkgname-$pkgver.tgz::https://gitlab.com/o9000/tint2/repository/archive.tar.gz?ref=$pkgver"
         'zombie-fix.patch')
-sha256sums=('7f1f7cdb8eecfaaac620589c327bf29def457a9d38cee587769c93aacd2a3e36'
+sha256sums=('68065a85eec6f4186c52adb48d9fdab2b1008df92e34380038739c146bb59f06'
             'a1e942ca3bef05885989f899c0eaaf63f538f7b84cb43d1517d5d39aa64a4ef9')
 
 prepare() {
   mv "$pkgname-$pkgver-"* "$pkgname"
   cd "$pkgname"
-
-  # Applying all available patches
-  for f in ../*.patch; do
-    echo -e "--- ${f##*/} ---"
-    patch -Np1 -i $f && echo "${f##*/} OK!" || echo "${f##*/} FAILED!"
-  done
+  patch -Np1 -i ../zombie-fix.patch \
+    && echo "${f##*/} OK!" \
+    || echo "${f##*/} FAILED!"
 }
 
 build() {
   cd "$pkgname"
 
-  # Generating Ninja project files
-  mkdir -p build && cd build
+  mkdir -p build
+  cd build
   cmake .. -DCMAKE_INSTALL_PREFIX=/usr -DENABLE_TINT2CONF=1 -G Ninja
-
-  # Compiling
-  ninja 
+  ninja
 }
 
 package() {



More information about the arch-commits mailing list