aboutsummaryrefslogtreecommitdiff
path: root/desktop/fbmenugen/fbmenugen.SlackBuild
diff options
context:
space:
mode:
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 bdbe004c790e..e705b946dc7d 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