diff options
Diffstat (limited to 'system/rEFInd')
-rw-r--r-- | system/rEFInd/README | 3 | ||||
-rw-r--r-- | system/rEFInd/rEFInd.SlackBuild | 26 | ||||
-rw-r--r-- | system/rEFInd/rEFInd.info | 6 |
3 files changed, 23 insertions, 12 deletions
diff --git a/system/rEFInd/README b/system/rEFInd/README index 2909b3d5d2..511203d350 100644 --- a/system/rEFInd/README +++ b/system/rEFInd/README @@ -8,6 +8,3 @@ EFI-compatible OSes, including Linux, provide boot loaders that rEFInd can detect and launch. rEFInd can launch Linux EFI boot loaders such as ELILO, GRUB Legacy, GRUB 2, and 3.3.0 and later kernels with EFI stub support. - -This package is optionally depends on python3 if you want to run the -refind-mkdefault script, otherwise you don't need python3. diff --git a/system/rEFInd/rEFInd.SlackBuild b/system/rEFInd/rEFInd.SlackBuild index 90f28c4eb8..e9f1743a2f 100644 --- a/system/rEFInd/rEFInd.SlackBuild +++ b/system/rEFInd/rEFInd.SlackBuild @@ -1,8 +1,8 @@ -#!/bin/sh +#!/bin/bash # 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: @@ -21,11 +21,14 @@ # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +cd $(dirname $0) ; CWD=$(pwd) + PRGNAM=rEFInd SRCNAME=refind -VERSION=${VERSION:-0.12.0} +VERSION=${VERSION:-0.14.0.2} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} +PKGTYPE=${PKGTYPE:-tgz} if [ -z "$ARCH" ]; then case "$( uname -m )" in @@ -40,7 +43,14 @@ if [ "$ARCH" != "x86_64" ] && [ "$ARCH" != "i586" ] && [ "$ARCH" != "i686" ]; th exit fi -CWD=$(pwd) +# 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 +# could be useful to other scripts. +if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then + echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE" + exit 0 +fi + TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} @@ -62,7 +72,8 @@ else REFIND_SUFFIX=ia32 fi sed -i '/^EFICRT0/ s/$/\/gnuefi/' Make.common -make all_gnuefi + +make -j1 all_gnuefi REFIND_SHARE_DIR=$PKG/usr/share/$PRGNAM-$VERSION mkdir -p $PKG/usr/sbin mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION @@ -88,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 @@ -102,4 +116,4 @@ mkdir -p $PKG/install cat $CWD/slack-desc > $PKG/install/slack-desc cd $PKG -/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz} +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE diff --git a/system/rEFInd/rEFInd.info b/system/rEFInd/rEFInd.info index cddd2f4e79..6195fc138a 100644 --- a/system/rEFInd/rEFInd.info +++ b/system/rEFInd/rEFInd.info @@ -1,8 +1,8 @@ PRGNAM="rEFInd" -VERSION="0.12.0" +VERSION="0.14.0.2" HOMEPAGE="http://www.rodsbooks.com/refind/index.html" -DOWNLOAD="https://sourceforge.net/projects/refind/files/0.12.0/refind-src-0.12.0.tar.gz" -MD5SUM="673088f61ccd60535a3b2c0d607e4a7e" +DOWNLOAD="http://sourceforge.net/projects/refind/files/0.14.0.2/refind-src-0.14.0.2.tar.gz" +MD5SUM="a458eae2fff7fc07333760e7485ca3dd" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="" |