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

Kyle Keen kkeen at archlinux.org
Sun Aug 24 14:10:25 UTC 2014


    Date: Sunday, August 24, 2014 @ 16:10:25
  Author: kkeen
Revision: 117835

upgpkg: spectrwm 2.6.0-1

Modified:
  spectrwm/trunk/PKGBUILD

----------+
 PKGBUILD |   13 ++++++++++---
 1 file changed, 10 insertions(+), 3 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2014-08-24 13:35:40 UTC (rev 117834)
+++ PKGBUILD	2014-08-24 14:10:25 UTC (rev 117835)
@@ -3,7 +3,7 @@
 # Contributor: Christoph Zeiler <archNOSPAM_at_moonblade.dot.org>
 
 pkgname=spectrwm
-pkgver=2.5.1
+pkgver=2.6.0
 pkgrel=1
 pkgdesc="A minimalistic automatic tiling window manager that tries to stay out of the way."
 arch=('i686' 'x86_64')
@@ -17,11 +17,17 @@
             'xlockmore: great screenlocker'
             'terminus-font: great font')
 backup=(etc/spectrwm.conf)
+
+# the 2.6.0 linux makefile does not build
+# so download and use the 2.5.1 makefile until this is fixed
+
 source=(http://opensource.conformal.com/snapshots/$pkgname/$pkgname-$pkgver.tgz \
+	http://opensource.conformal.com/snapshots/$pkgname/$pkgname-2.5.1.tgz \
 	LICENSE \
         baraction.sh \
         spectrwm-no-preload)
-md5sums=('d9aec3342920e31cbe60f1032571043a'
+md5sums=('278acafe23d2fa2b1d7a3705bcbe95de'
+         'd9aec3342920e31cbe60f1032571043a'
          'a67cfe51079481e5b0eab1ad371379e3'
          '950d663692e1da56e0ac864c6c3ed80e'
          '974d109ce0af39cc73936d5efd682480')
@@ -30,7 +36,7 @@
   cd "$srcdir/$pkgname-$pkgver"
   
   sed -i 's|\"/usr/local/lib/libswmhack.so\"|\"libswmhack.so\"|' spectrwm.c
-  sed -i 's/verbose_layout = 0;/verbose_layout = 1;/' spectrwm.c
+  sed -i 's/verbose_layout = false;/verbose_layout = true;/' spectrwm.c
   sed -i 's/# modkey = Mod1/modkey = Mod4/' spectrwm.conf
   # crashes if defaults can't be found, use less massive defaults
   sed -i 's/-\*-terminus-medium-\*-\*-\*-\*/-*-profont-*-*-*-*-12/' spectrwm.conf
@@ -40,6 +46,7 @@
   sed -i 's/setconfspawn("lock".*/setconfspawn("lock", "xlock", SWM_SPAWN_OPTIONAL);/' spectrwm.c
 
   cd linux
+  cp "$srcdir/$pkgname-2.5.1/linux/Makefile" ./
   make PREFIX="/usr"
 }
 




More information about the arch-commits mailing list