Package Details: spectrwm-git 3.4.1.r19.g63b9ae4-1

Git Clone URL: (read-only, click to copy)
Package Base: spectrwm-git
Description: A minimalistic automatic tiling window manager that tries to stay out of the way.
Upstream URL:
Licenses: custom:ISC
Conflicts: spectrwm
Provides: spectrwm=3.4.1-1
Replaces: scrotwm
Submitter: keenerd
Maintainer: bidulock
Last Packager: bidulock
Votes: 19
Popularity: 0.098921
First Submitted: 2012-02-18 04:13
Last Updated: 2021-06-22 04:27

Latest Comments

Geweldig commented on 2021-02-12 23:42

Does not build in a chroot as of (at least) 2021-02-13:

install: cannot stat 'LICENSE': No such file or directory

It works fine when building with makepkg -si though.

Edit 2021-05-13: Changing cd ../.. to cd "$srcdir" in the pkgbuild fixes the build in a chroot. This is also how it is done in the pkgbuild for spectrwm itself.

quite commented on 2016-11-28 05:21

Not building, project moved to github

bidulock commented on 2014-09-05 04:19

Ignore that last, I was still on old PKGBUILD.,,

bidulock commented on 2014-09-05 04:16

Here is a PKGBUILD that works based on your community PKGBUILD:

bidulock commented on 2014-08-29 05:07

no longer builds

Anonymous comment on 2013-04-06 05:05

Drop the
#ln -s /usr/lib/ "$pkgdir/usr/lib/"
#ln -s /usr/lib/ "$pkgdir/usr/lib/"

diff --git a/linux/Makefile b/linux/Makefile
index 709fd82..4330498 100644
--- a/linux/Makefile
+++ b/linux/Makefile
@@ -1,5 +1,5 @@
CFLAGS+= -std=c99 -Wall -Wextra -Wmissing-prototypes -Wshadow -g -D_GNU_SOURCE -I. -I/usr/include/freetype2
LDADD+= -lX11 -lX11-xcb -lxcb -lxcb-icccm -lxcb-randr -lxcb-keysyms -lxcb-util -lxcb-xtest -lXft -lXcursor

PREFIX?= /usr/local
@@ -16,7 +16,7 @@ ifneq ("${BUILDVERSION}", "")

-all: spectrwm$(LVERS)
+all: spectrwm

ln -sf ../spectrwm.c
@@ -31,15 +31,15 @@ spectrwm: spectrwm.o linux.o %.c
$(CC) $(CFLAGS) -c -fpic -DPIC $+ -o $@$(LVERS):
- $(CC) -shared -fpic -o$(LVERS) $(LDADD)$(LVERS):
+# $(CC) -shared -fpic -o$(LVERS) $(LDADD)

install: all
install -m 755 -d $(DESTDIR)$(BINDIR)
install -m 755 -d $(DESTDIR)$(LIBDIR)
install -m 755 -d $(DESTDIR)$(MANDIR)/man1
install -m 755 spectrwm $(DESTDIR)$(BINDIR)
- install -m 755$(LVERS) $(DESTDIR)$(LIBDIR)
+ #install -m 755$(LVERS) $(DESTDIR)$(LIBDIR)
install -m 644 ../spectrwm.1 $(DESTDIR)$(MANDIR)/man1/spectrwm.1
install -m 644 ../spectrwm_es.1 $(DESTDIR)$(MANDIR)/man1/spectrwm_es.1
install -m 644 ../spectrwm_it.1 $(DESTDIR)$(MANDIR)/man1/spectrwm_it.1
diff --git a/spectrwm.c b/spectrwm.c
index 1e20562..52b25ef 100644
--- a/spectrwm.c
+++ b/spectrwm.c
@@ -260,9 +260,11 @@ u_int32_t swm_debug = 0
#define SWM_CONF_DEFAULT (0)

#ifndef SWM_LIB
#define SWM_LIB ""

char **start_argv;
xcb_atom_t a_state;
@@ -3047,7 +3049,7 @@ spawn(int ws_idx, union arg *args, int close_fd)


- setenv("LD_PRELOAD", SWM_LIB, 1);
+ /*setenv("LD_PRELOAD", SWM_LIB, 1);*/

if (asprintf(&ret, "%d", ws_idx) == -1) {
warn("spawn: asprintf SWM_WS");

Anonymous comment on 2012-07-20 22:34

Also, please change:
ln -s ../version.h version.h


ln -sf ../version.h version.h

Anonymous comment on 2012-07-20 22:31

New deps for git:

depends=('dmenu' 'xcb-util' 'xcb-util-wm' 'xcb-util-keysyms' 'libxft' 'profont')

keenerd commented on 2012-02-18 04:15

ScrotWM is now SpectrWM.

Anonymous comment on 2011-11-02 04:37

keenerd: in PKGBUILD package(), scrotwm.desktop is not found. Suggest placing the install line right after 'make install' to install 'scrotwm/linux/scrotwm.desktop'