summaryrefslogtreecommitdiff
path: root/desktop/enlightenment/enlightenment.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'desktop/enlightenment/enlightenment.SlackBuild')
-rw-r--r--desktop/enlightenment/enlightenment.SlackBuild16
1 files changed, 10 insertions, 6 deletions
diff --git a/desktop/enlightenment/enlightenment.SlackBuild b/desktop/enlightenment/enlightenment.SlackBuild
index 1a8f1adbad..5bf81314e2 100644
--- a/desktop/enlightenment/enlightenment.SlackBuild
+++ b/desktop/enlightenment/enlightenment.SlackBuild
@@ -5,8 +5,8 @@
# Written by Aleksandar Samardzic <asamardzic@gmail.com>
PRGNAM=enlightenment
-VERSION=${VERSION:-0.16.999.52995}
-BUILD=${BUILD:-2}
+VERSION=${VERSION:-0.16.999.55225}
+BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
if [ -z "$ARCH" ]; then
@@ -65,6 +65,13 @@ CXXFLAGS="$SLKCFLAGS" \
make
make install DESTDIR=$PKG
+# Don't clobber config files on upgrade
+mv $PKG/etc/enlightenment/sysactions.conf $PKG/etc/enlightenment/sysactions.conf.new
+
+# Handle the xinitrc file
+mkdir -p $PKG/etc/X11/xinit
+cat $CWD/xinitrc.enlightenment17 > $PKG/etc/X11/xinit/xinitrc.enlightenment17
+
find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
@@ -72,12 +79,9 @@ mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a AUTHORS COPYING ChangeLog INSTALL NEWS README $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
-# handle the xinitrc file
-mkdir -p $PKG/etc/X11/xinit
-cat $CWD/xinitrc.enlightenment17 > $PKG/etc/X11/xinit/xinitrc.enlightenment17
-
mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
+cat $CWD/doinst.sh > $PKG/install/doinst.sh
cd $PKG
/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}