aboutsummaryrefslogtreecommitdiff
path: root/system/refind/refind.SlackBuild
diff options
context:
space:
mode:
authorZhu Qun-Ying <zhu.qunying@gmail.com>2017-04-17 23:06:27 +0100
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2017-04-22 08:10:44 +0700
commit2887c045085fa29afc9b57462ac006a413595992 (patch)
treed7fe2aa7f4b222b304f7b6df35371436ee64f093 /system/refind/refind.SlackBuild
parent58c025af145e1f5d2f51c054dc9946d78fdac58e (diff)
system/refind: Updated for version 0.10.6.
Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
Diffstat (limited to 'system/refind/refind.SlackBuild')
-rw-r--r--system/refind/refind.SlackBuild21
1 files changed, 13 insertions, 8 deletions
diff --git a/system/refind/refind.SlackBuild b/system/refind/refind.SlackBuild
index 2cc5a9918470..2aacf702a07b 100644
--- a/system/refind/refind.SlackBuild
+++ b/system/refind/refind.SlackBuild
@@ -23,7 +23,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=refind
-VERSION=${VERSION:-0.10.5}
+VERSION=${VERSION:-0.10.6}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -65,15 +65,20 @@ cp -ra keys refind refind-install fonts banners $REFIND_SHARE_DIR
cp mkrlconf mvrefind mountesp $PKG/usr/sbin
cp -a docs/* *.txt $PKG/usr/doc/$PRGNAM-$VERSION
-# remove unnecessary package
+AA64_PKG="$REFIND_SHARE_DIR/refind/drivers_aa64 \
+ $REFIND_SHARE_DIR/refind/tools_aa64 \
+ $REFIND_SHARE_DIR/refind/refind_aa64.efi"
+# remove unnecessary packages
if [ "$ARCH" = "x86_64" ]; then
- rm -rf $REFIND_SHARE_DIR/refind/drivers_ia32 \
- $REFIND_SHARE_DIR/refind/tools_ia32 \
- $REFIND_SHARE_DIR/refind/refind_ia32.efi
+ rm -rf $REFIND_SHARE_DIR/refind/drivers_ia32 \
+ $REFIND_SHARE_DIR/refind/tools_ia32 \
+ $REFIND_SHARE_DIR/refind/refind_ia32.efi \
+ $AA64_PKG
else
- rm -rf $REFIND_SHARE_DIR/refind/drivers_x64 \
- $REFIND_SHARE_DIR/refind/tools_x64 \
- $REFIND_SHARE_DIR/refind/refind_x64.efi
+ rm -rf $REFIND_SHARE_DIR/refind/drivers_x64 \
+ $REFIND_SHARE_DIR/refind/tools_x64 \
+ $REFIND_SHARE_DIR/refind/refind_x64.efi \
+ $AA64_PKG
fi
# include a slackware banner made by me, including the svg version
cp $CWD/slackware-banner.* $REFIND_SHARE_DIR/banners