summaryrefslogtreecommitdiffstats
path: root/extra/blackbox/Pkgfile
blob: d22cc5eeb16ac048233ff8e34ff58e0306c439a4 (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: hal,libiconv

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

build() {
	cd $name-$version
	patch -Np1 -i ../$name-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
}