summaryrefslogtreecommitdiffstats
path: root/extra/blackbox/Pkgfile
blob: 903fdf1bcdb956a1fbe6b0d979719f987adf9358 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
# Description: Gestionnaire de fenêtres léger et rapide
# URL: http://blackboxwm.sourceforge.net
# Maintainer: NuTyX core team
# Packager: thierryn1 at hispeed dot ch
# Depends on: xorg, hal, libiconv
# Run on:

name=blackbox
version=0.70.1
release=3
source=(http://downloads.sourceforge.net/blackboxwm/$name-$version.tar.bz2\
	http://nutyx.meticul.eu/files/patchs/$name/gcc43.patch)

build() {
	cd $name-$version
	patch -Np1 -i ../gcc43.patch
	./configure --prefix=/usr\
	--mandir=/usr/share/man
	make
	make DESTDIR=$PKG install
	mkdir $PKG/usr/share/xsessions
	cat > $PKG/usr/share/xsessions/blackbox.desktop << "EOF"
[Desktop Entry]
Encoding=UTF-8
Name=Blackbox
Comment=Log in Blackbox Windows manager
Exec=/usr/bin/blackbox
Type=Xsession
EOF
}