diff options
author | Phillip Warner <pc_warner@yahoo.com> | 2018-04-02 20:31:20 +0000 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2018-04-07 08:13:09 +0700 |
commit | edc8035ebde0a3fbe59bd877e19104b2bf4d71bc (patch) | |
tree | 3d96cd5f184a70355a76705336b4bce05ca1660d /desktop/dmenu/dmenu.SlackBuild | |
parent | 847f98793d72ec122f408ad71c9ff5854362aee7 (diff) |
desktop/dmenu: Updated for version 4.8.
Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
Diffstat (limited to 'desktop/dmenu/dmenu.SlackBuild')
-rw-r--r-- | desktop/dmenu/dmenu.SlackBuild | 12 |
1 files changed, 5 insertions, 7 deletions
diff --git a/desktop/dmenu/dmenu.SlackBuild b/desktop/dmenu/dmenu.SlackBuild index ba19a0a2e8848..290289798db35 100644 --- a/desktop/dmenu/dmenu.SlackBuild +++ b/desktop/dmenu/dmenu.SlackBuild @@ -24,13 +24,13 @@ # Modified by Phillip Warner for version >= 4.0 PRGNAM=dmenu -VERSION=${VERSION:-4.6} +VERSION=${VERSION:-4.8} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} if [ -z "$ARCH" ]; then case "$( uname -m )" in - i?86) ARCH=i486 ;; + i?86) ARCH=i586 ;; arm*) ARCH=arm ;; *) ARCH=$( uname -m ) ;; esac @@ -41,8 +41,8 @@ TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} -if [ "$ARCH" = "i486" ]; then - SLKCFLAGS="-O2 -march=i486 -mtune=i686" +if [ "$ARCH" = "i586" ]; then + SLKCFLAGS="-O2 -march=i586 -mtune=i686" LIBDIRSUFFIX="" elif [ "$ARCH" = "i686" ]; then SLKCFLAGS="-O2 -march=i686 -mtune=i686" @@ -71,7 +71,7 @@ find -L . \ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; # Fixup the CFLAGS and LIBDIR settings to prevent multilib conflicts -patch -p1 < $CWD/dmenu-4.6-libdir_cflags_fixups.diff +patch -p1 < $CWD/dmenu-4.8-libdir_cflags_fixups.diff make install \ OPTS="$SLKCFLAGS" \ @@ -91,8 +91,6 @@ for i in $(find $PKG/usr/man -type l) ; do ln -s $(readlink $i).gz $i.gz ; rm $i mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION cp -a LICENSE README $PKG/usr/doc/$PRGNAM-$VERSION cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild -# Include important changes listed in the release notes in the mailing list group -cat $CWD/${PRGNAM}-${VERSION}-ReleaseNotes.txt > $PKG/usr/doc/$PRGNAM-$VERSION/ReleaseNotes mkdir -p $PKG/install cat $CWD/slack-desc > $PKG/install/slack-desc |