summaryrefslogtreecommitdiff
path: root/desktop/ion/ion.SlackBuild
diff options
context:
space:
mode:
authorJorge Gajon <gajon@gajon.org>2010-06-15 03:03:27 -0500
committerRobby Workman <rworkman@slackbuilds.org>2010-06-15 03:03:27 -0500
commit906ce0e3ee58d4c924738f6970ce088042929875 (patch)
tree0287e849c1f44f088a1551090744913a1b35fc02 /desktop/ion/ion.SlackBuild
parent520165f91336269e30ddee36c6f2adf6bcea67b0 (diff)
downloadslackbuilds-906ce0e3ee58d4c924738f6970ce088042929875.tar.gz
desktop/ion: Miscellaneous script cleanup.
This commit changes the download link, documents the reason(s) for that in README, modifies the xinitrc script to start with ck-launch-session if needed, and adds an xsession file for gui login managers. Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
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