summaryrefslogtreecommitdiffstats
path: root/extra
diff options
context:
space:
mode:
Diffstat (limited to 'extra')
-rw-r--r--extra/blackbox/.footprint2
-rw-r--r--extra/blackbox/Pkgfile11
2 files changed, 12 insertions, 1 deletions
diff --git a/extra/blackbox/.footprint b/extra/blackbox/.footprint
index 19c56fb61..fe2dcc482 100644
--- a/extra/blackbox/.footprint
+++ b/extra/blackbox/.footprint
@@ -43,3 +43,5 @@ drwxr-xr-x root/root usr/share/man/man1/
-rw-r--r-- root/root usr/share/man/man1/blackbox.1.gz
-rw-r--r-- root/root usr/share/man/man1/bsetbg.1.gz
-rw-r--r-- root/root usr/share/man/man1/bsetroot.1.gz
+drwxr-xr-x root/root usr/share/xsessions/
+-rw-r--r-- root/root usr/share/xsessions/blackbox.desktop
diff --git a/extra/blackbox/Pkgfile b/extra/blackbox/Pkgfile
index bed9f662c..3ec3bae62 100644
--- a/extra/blackbox/Pkgfile
+++ b/extra/blackbox/Pkgfile
@@ -6,7 +6,7 @@
name=blackbox
version=0.70.1
-release=2
+release=3
source=(http://downloads.sourceforge.net/blackboxwm/$name-$version.tar.bz2\
http://nutyx.meticul.eu/files/patchs/$name/gcc43.patch)
@@ -17,5 +17,14 @@ build() {
--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
}