summaryrefslogtreecommitdiffstats
path: root/system/rEFInd/rEFInd.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'system/rEFInd/rEFInd.SlackBuild')
-rw-r--r--system/rEFInd/rEFInd.SlackBuild11
1 files changed, 5 insertions, 6 deletions
diff --git a/system/rEFInd/rEFInd.SlackBuild b/system/rEFInd/rEFInd.SlackBuild
index d5024a96eb..e9f1743a2f 100644
--- a/system/rEFInd/rEFInd.SlackBuild
+++ b/system/rEFInd/rEFInd.SlackBuild
@@ -2,7 +2,7 @@
# Slackware build script for refind
-# Copyright 2020 Zhu Qun-Ying All rights reserved.
+# Copyright 2020-2023 Zhu Qun-Ying All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
# permitted provided that the following conditions are met:
@@ -25,7 +25,7 @@ cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=rEFInd
SRCNAME=refind
-VERSION=${VERSION:-0.13.2}
+VERSION=${VERSION:-0.14.0.2}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@@ -65,8 +65,6 @@ tar xvf $CWD/$SRCNAME-src-$VERSION.tar.gz
cd $SRCNAME-$VERSION
chown -R root:root .
-patch -p1 < $CWD/refind-0.13.2-gnuefi-3.0.14.patch
-
if [ "$ARCH" == "x86_64" ]; then
sed -i -s 's/usr\/lib/usr\/lib64/' Make.common
REFIND_SUFFIX=x64
@@ -75,8 +73,6 @@ else
fi
sed -i '/^EFICRT0/ s/$/\/gnuefi/' Make.common
-sed -i 's|no-strict-aliasing|no-strict-aliasing -fno-tree-loop-distribute-patterns|' Make.common
-
make -j1 all_gnuefi
REFIND_SHARE_DIR=$PKG/usr/share/$PRGNAM-$VERSION
mkdir -p $PKG/usr/sbin
@@ -103,12 +99,15 @@ cp mkrlconf mvrefind mountesp $PKG/usr/sbin
)
cp -a docs/* *.txt $PKG/usr/doc/$PRGNAM-$VERSION
+find $PKG/usr/doc -type d -exec chmod 0755 {} \;
+
# include a slackware banner made by me, including the svg version
cp $CWD/slackware-banner.* $REFIND_SHARE_DIR/banners
mkdir -p $PKG/usr/man/man8
mv $PKG/usr/doc/$PRGNAM-$VERSION/man/*.8 $PKG/usr/man/man8
rmdir $PKG/usr/doc/$PRGNAM-$VERSION/man
+find $PKG/usr/man -type f -exec chmod 0644 {} \;
gzip $PKG/usr/man/man8/*
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild