summaryrefslogtreecommitdiff
path: root/community/spectrwm
diff options
context:
space:
mode:
Diffstat (limited to 'community/spectrwm')
-rw-r--r--community/spectrwm/PKGBUILD15
1 files changed, 10 insertions, 5 deletions
diff --git a/community/spectrwm/PKGBUILD b/community/spectrwm/PKGBUILD
index 443fbdee3..5389ae238 100644
--- a/community/spectrwm/PKGBUILD
+++ b/community/spectrwm/PKGBUILD
@@ -1,10 +1,10 @@
-# $Id: PKGBUILD 75631 2012-08-27 17:30:40Z kkeen $
+# $Id: PKGBUILD 80704 2012-11-29 23:09:48Z kkeen $
# Maintainer: Kyle Keen <keenerd@gmail.com>
# Contributor: Christoph Zeiler <archNOSPAM_at_moonblade.dot.org>
pkgname=spectrwm
-pkgver=2.0.2
-pkgrel=1
+pkgver=2.1.1
+pkgrel=2
pkgdesc="A minimalistic automatic tiling window manager that tries to stay out of the way."
arch=('i686' 'x86_64')
url="http://www.spectrwm.org"
@@ -13,12 +13,12 @@ license=('custom:ISC')
depends=('dmenu' 'xcb-util' 'xcb-util-wm' 'xcb-util-keysyms' 'libxrandr' 'libxft' 'libxcursor' 'profont')
replaces=('scrotwm')
makedepends=('libxt')
-optdepends=('scrot: screenshots' 'xlockmore: screenlocking' 'terminus-font: great font')
+optdepends=('scrot: screenshots' 'xlockmore: great screenlocker' 'terminus-font: great font')
backup=(etc/spectrwm.conf)
source=(http://opensource.conformal.com/snapshots/$pkgname/$pkgname-$pkgver.tgz \
LICENSE \
baraction.sh)
-md5sums=('b7c52886492690eb1b71aa673743d044'
+md5sums=('98aba16fb76131bdf57ead10c8583d9a'
'a67cfe51079481e5b0eab1ad371379e3'
'950d663692e1da56e0ac864c6c3ed80e')
@@ -29,7 +29,12 @@ build() {
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/# modkey = Mod1/modkey = Mod4/' spectrwm.conf
+ # crashes if defaults can't be found, use smaller defaults
sed -i 's/-\*-terminus-medium-\*-\*-\*-\*/-*-profont-*-*-*-*-12/' spectrwm.conf
+ #sed -i 's/# program[lock].*/program[lock] = slock/' spectrwm.conf
+
+ # see spectrwm FS#403
+ sed -i 's/setconfspawn("lock".*/setconfspawn("lock", "xlock", SWM_SPAWN_OPTIONAL);/' spectrwm.c
cd linux
make PREFIX="/usr"