opt/spectrwm/Pkgfile

20 lines
711 B
Plaintext
Raw Normal View History

2010-11-15 18:31:02 +01:00
# Description: Minimalistic tiling window manager
2012-02-19 14:04:36 +01:00
# URL: https://opensource.conformal.com/wiki/spectrwm
2010-11-15 18:31:02 +01:00
# Maintainer: Juergen Daubert, jue at crux dot nu
2012-08-25 10:05:55 +02:00
# Depends on: xorg-libxrender fontconfig xorg-xcb-util-keysyms xorg-xcb-util-wm
2010-11-15 18:31:02 +01:00
2012-02-19 14:04:36 +01:00
name=spectrwm
2013-11-22 17:17:33 +01:00
version=2.4.0
release=2
2013-11-22 17:17:33 +01:00
source=(https://opensource.conformal.com/snapshots/$name/$name-$version.tgz
$name-fix_unbind.patch $name-remove_libswmhack.patch)
2010-11-15 18:31:02 +01:00
build () {
cd $name-$version/linux
patch -p 1 -d .. -i $SRC/$name-remove_libswmhack.patch
2013-11-22 17:17:33 +01:00
patch -p 1 -d .. -i $SRC/$name-fix_unbind.patch
2010-11-15 18:31:02 +01:00
make PREFIX=/usr MANDIR=/usr/man DESTDIR=$PKG install
2012-02-19 14:04:36 +01:00
rm $PKG/usr/man/man1/spectrwm_*.1
ln -sf spectrwm $PKG/usr/bin/scrotwm
2010-11-15 18:31:02 +01:00
}