summaryrefslogtreecommitdiffstats
path: root/desktop/xlunch/xlunch.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'desktop/xlunch/xlunch.SlackBuild')
-rw-r--r--desktop/xlunch/xlunch.SlackBuild11
1 files changed, 5 insertions, 6 deletions
diff --git a/desktop/xlunch/xlunch.SlackBuild b/desktop/xlunch/xlunch.SlackBuild
index a4f034e18f..7e8ed46653 100644
--- a/desktop/xlunch/xlunch.SlackBuild
+++ b/desktop/xlunch/xlunch.SlackBuild
@@ -25,7 +25,7 @@
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=xlunch
-VERSION=${VERSION:-2.3.2}
+VERSION=${VERSION:-4.7.4}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@@ -38,9 +38,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
-# the name of the created package would be, and then exit. This information
-# could be useful to other scripts.
if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
exit 0
@@ -79,13 +76,15 @@ find -L . \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
+sed -i '17d;18d;19d;20d;21d;23d;24d;49d' Makefile
+
CFLAGS="$SLKCFLAGS" \
make
mkdir -p $PKG/usr/bin
make install DESTDIR=$PKG
-
-mv $PKG/etc/xlunch/icons.conf $PKG/etc/xlunch/icons.conf.new
+mv $PKG/etc/xlunch/default.conf $PKG/etc/xlunch/default.conf.new
+cp extra/gentriesquick $PKG/usr/bin/xlunch_genquick
find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true