summaryrefslogtreecommitdiff
path: root/desktop/ion/ion.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'desktop/ion/ion.SlackBuild')
-rw-r--r--desktop/ion/ion.SlackBuild10
1 files changed, 5 insertions, 5 deletions
diff --git a/desktop/ion/ion.SlackBuild b/desktop/ion/ion.SlackBuild
index c08283b608..78db9cc92a 100644
--- a/desktop/ion/ion.SlackBuild
+++ b/desktop/ion/ion.SlackBuild
@@ -58,7 +58,7 @@ chmod -R u+w,go+r-w,a-s .
sed -e "s%@VERSION@%$VERSION%g" -e "s%@LIBDIRSUFFIX@%$LIBDIRSUFFIX%g" \
$CWD/system.mk.diff | patch -p1
-make OPTS="$SLKCFLAGS" -j1
+make OPTS="$SLKCFLAGS"
# The Makefile doesn't support DESTDIR :/
make install \
@@ -76,13 +76,13 @@ make install \
# running on x86_64.
install -D -m 0755 $CWD/xinitrc.ion $PKG/etc/X11/xinit/xinitrc.ion
+# Add ion3 as a valid session in login managers
+install -D -m 0755 $CWD/ion3.desktop $PKG/usr/share/xsessions/ion3.desktop
+
find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
-( cd $PKG/usr/man
- find . -type f -exec gzip -9 {} \;
- for i in $(find . -type l) ; do ln -s $(readlink $i).gz $i.gz ; rm $i ; done
-)
+find $PKG/usr/man -type f -exec gzip -9 {} \;
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild