summaryrefslogtreecommitdiff
path: root/desktop/fbmenugen/fbmenugen.SlackBuild
diff options
context:
space:
mode:
authorEdinaldo P. Silva <edps.mundognu@gmail.com>2022-08-05 23:18:29 +0100
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2022-08-06 20:16:10 +0700
commitba9db4db57ffc14804f5b6e05972179bd831339c (patch)
tree06347d33289cf1bf668ce7fe9c9fd1354a78ecf2 /desktop/fbmenugen/fbmenugen.SlackBuild
parentd99cd706c3300feab8655cd11e63456b1079fe29 (diff)
downloadslackbuilds-ba9db4db57ffc14804f5b6e05972179bd831339c.tar.gz
desktop/fbmenugen: Updated for version 0.86.
Signed-off-by: Dave Woodfall <dave@slackbuilds.org> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'desktop/fbmenugen/fbmenugen.SlackBuild')
-rw-r--r--desktop/fbmenugen/fbmenugen.SlackBuild28
1 files changed, 4 insertions, 24 deletions
diff --git a/desktop/fbmenugen/fbmenugen.SlackBuild b/desktop/fbmenugen/fbmenugen.SlackBuild
index bdbe004c79..e705b946dc 100644
--- a/desktop/fbmenugen/fbmenugen.SlackBuild
+++ b/desktop/fbmenugen/fbmenugen.SlackBuild
@@ -2,7 +2,7 @@
#
# Slackware build script for fbmenugen.
#
-# Copyright 2015-2020 Edinaldo P. Silva, Rio de Janeiro, Brazil.
+# Copyright 2015-2022 Edinaldo P. Silva, Rio de Janeiro, Brazil.
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -25,18 +25,12 @@
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=fbmenugen
-VERSION=${VERSION:-0.85}
+VERSION=${VERSION:-0.86}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
-if [ -z "$ARCH" ]; then
- case "$( uname -m )" in
- i?86) ARCH=i586 ;;
- arm*) ARCH=arm ;;
- *) ARCH=$( uname -m ) ;;
- esac
-fi
+ARCH=noarch
# 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
@@ -50,20 +44,6 @@ TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
-if [ "$ARCH" = "i586" ]; then
- SLKCFLAGS="-O2 -march=i586 -mtune=i686"
- LIBDIRSUFFIX=""
-elif [ "$ARCH" = "i686" ]; then
- SLKCFLAGS="-O2 -march=i686 -mtune=i686"
- LIBDIRSUFFIX=""
-elif [ "$ARCH" = "x86_64" ]; then
- SLKCFLAGS="-O2 -fPIC"
- LIBDIRSUFFIX="64"
-else
- SLKCFLAGS="-O2"
- LIBDIRSUFFIX=""
-fi
-
set -e
rm -rf $PKG
@@ -86,7 +66,7 @@ install -Dm755 $PRGNAM $PKG/usr/bin/$PRGNAM
install -Dm644 schema.pl $PKG/etc/xdg/$PRGNAM/schema.pl
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp INSTALL.md LICENSE README.md $PKG/usr/doc/$PRGNAM-$VERSION/
+cp LICENSE README.md $PKG/usr/doc/$PRGNAM-$VERSION/
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/install