summaryrefslogtreecommitdiffstats
path: root/system/refind/refind.SlackBuild
diff options
context:
space:
mode:
author Zhu Qun-Ying <zhu.qunying@gmail.com>2016-11-29 13:04:30 +0700
committer Willy Sudiarto Raharjo <willysr@slackbuilds.org>2016-11-29 13:04:30 +0700
commitf51cc2d65c4e44a871a326c84cea6f60ab5ffab9 (patch)
treefae82923185f3dd8c480f6a5d7f898a8e07fa821 /system/refind/refind.SlackBuild
parent7840e2e3484a4bb49a8403609d75b7a7bce0e759 (diff)
downloadslackbuilds-f51cc2d65c4e44a871a326c84cea6f60ab5ffab9.tar.gz
slackbuilds-f51cc2d65c4e44a871a326c84cea6f60ab5ffab9.tar.xz
system/refind: Updated for version 0.10.4.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'system/refind/refind.SlackBuild')
-rw-r--r--system/refind/refind.SlackBuild17
1 files changed, 8 insertions, 9 deletions
diff --git a/system/refind/refind.SlackBuild b/system/refind/refind.SlackBuild
index e8b1805eb0..426ff41f64 100644
--- a/system/refind/refind.SlackBuild
+++ b/system/refind/refind.SlackBuild
@@ -23,19 +23,19 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=refind
-VERSION=${VERSION:-0.10.3}
+VERSION=${VERSION:-0.10.4}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
- i?86) ARCH=i486 ;;
+ i?86) ARCH=i586 ;;
arm*) ARCH=arm ;;
*) ARCH=$( uname -m ) ;;
esac
fi
-if [ "$ARCH" != "x86_64" -a "$ARCH" != "i486" ]; then
+if [ "$ARCH" != "x86_64" -a "$ARCH" != "i586" ]; then
echo "Platform $ARCH not supported."
exit
fi
@@ -65,12 +65,6 @@ 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
-mkdir -p $PKG/usr/man/man8
-mv $PKG/usr/doc/$PRGNAM-$VERSION/man/* $PKG/usr/man/man8
-rm -rf $PKG/usr/doc/$PRGNAM-$VERSION/man
-find $PKG/usr/man -type f -exec gzip -9 {} \;
-for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done
-
# remove unnecessary package
if [ "$ARCH" == "x86_64" ]; then
rm -rf $REFIND_SHARE_DIR/refind/drivers_ia32 \
@@ -84,6 +78,11 @@ fi
# 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
+gzip $PKG/usr/man/man8/*
+
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/install