summaryrefslogtreecommitdiff
path: root/desktop/fvwm3/fvwm3.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'desktop/fvwm3/fvwm3.SlackBuild')
-rw-r--r--desktop/fvwm3/fvwm3.SlackBuild11
1 files changed, 4 insertions, 7 deletions
diff --git a/desktop/fvwm3/fvwm3.SlackBuild b/desktop/fvwm3/fvwm3.SlackBuild
index 73f5b0d69e..66dfdd475f 100644
--- a/desktop/fvwm3/fvwm3.SlackBuild
+++ b/desktop/fvwm3/fvwm3.SlackBuild
@@ -2,7 +2,7 @@
# Slackware build script for fvwm3
-# Copyright 2020, Alexander Verbovetsky, Moscow, Russia
+# Copyright 2020-2021, Alexander Verbovetsky, Moscow, Russia
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -24,7 +24,7 @@
PRGNAM=fvwm3
VERSION=${VERSION:-1.0.2}
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
if [ -z "$ARCH" ]; then
@@ -65,11 +65,6 @@ cd $PRGNAM-$VERSION
patch -p1 < $CWD/update_fvwm_screen-dont_lose_desk_from_StartsOnScreen.patch
-sed -i '/^@FVWM_BUILD_GOLANG_TRUE@GOBUILD = $(GOCMD) build/s/$/ -mod=vendor/' \
- bin/FvwmPrompt/Makefile.in
-
-sed -i 's/1.14\*|1.15/1.13\*|1.14\*|1.15/' configure
-
mkdir -p bin/FvwmPrompt/vendor/golang.org/x
for DEPENDENCY in \
abiosoft/ishell/2.0.0 \
@@ -95,6 +90,8 @@ do
fi
done
+cat $CWD/modules.txt > bin/FvwmPrompt/vendor/modules.txt
+
chown -R root:root .
find -L . \
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \