From b169ab5c3a9de9095a4ce8db09bea7778cf67517 Mon Sep 17 00:00:00 2001 From: Slack Coder Date: Fri, 3 May 2024 11:04:58 -0500 Subject: efi-sync: sbolint'ing --- efi-sync/efi-sync.SlackBuild | 13 ++++++++++--- efi-sync/efi-sync.info | 2 ++ efi-sync/slack-desc | 18 ++++++++++++++++-- 3 files changed, 28 insertions(+), 5 deletions(-) diff --git a/efi-sync/efi-sync.SlackBuild b/efi-sync/efi-sync.SlackBuild index 9c0ed64..b7bee98 100644 --- a/efi-sync/efi-sync.SlackBuild +++ b/efi-sync/efi-sync.SlackBuild @@ -1,9 +1,12 @@ -#!/bin/sh +#!/bin/bash + +cd $(dirname $0) ; CWD=$(pwd) PRGNAM=efi-sync VERSION=${VERSION:-0.2.0} BUILD=${BUILD:-1} TAG=${TAG:-_slackcoder} +PKGTYPE=${PKGTYPE:-txz} if [ -z "$ARCH" ]; then case "$( uname -m )" in @@ -13,7 +16,11 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) +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} @@ -52,4 +59,4 @@ mkdir -p "$PKG/etc/rc.d" cp -R "$CWD/files/rc.efi-sync.new" "$PKG/etc/rc.d/" cd $PKG -/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-0.2.0-$ARCH-$BUILD$TAG.${PKGTYPE:-txz} +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-0.2.0-$ARCH-$BUILD$TAG.$PKGTYPE diff --git a/efi-sync/efi-sync.info b/efi-sync/efi-sync.info index 4c399b7..166c307 100644 --- a/efi-sync/efi-sync.info +++ b/efi-sync/efi-sync.info @@ -3,6 +3,8 @@ VERSION="0.2.0" HOMEPAGE="https://git.server.ky/slackcoder/efi-sync" DOWNLOAD="https://git.server.ky/slackcoder/efi-sync/snapshot/efi-sync-0.2.0.tar.xz" MD5SUM="9da8ebe6f6bcf30e0b8304c641c72396" +DOWNLOAD_x86_64="" +MD5SUM_x86_64="" REQUIRES="" MAINTAINER="Slack Coder" EMAIL="slackcoder@server.ky" diff --git a/efi-sync/slack-desc b/efi-sync/slack-desc index e88de34..1c4590c 100644 --- a/efi-sync/slack-desc +++ b/efi-sync/slack-desc @@ -1,5 +1,19 @@ +# HOW TO EDIT THIS FILE: +# The "handy ruler" below makes it easier to edit a package description. +# Line up the first '|' above the ':' following the base package name, and +# the '|' on the right side marks the last column you can put a character in. +# You must make exactly 11 lines for the formatting to be correct. It's also +# customary to leave one space after the ':' except on otherwise blank lines. + |-----handy-ruler------------------------------------------------------| -efi-sync: efi-sync +efi-sync: efi-sync (Kernel EFI installer) +efi-sync: +efi-sync: Automatically install your kernel into the EFI on updates. +efi-sync: +efi-sync: +efi-sync: +efi-sync: +efi-sync: +efi-sync: efi-sync: -efi-sync: Automatically install your kernel into the EFI. efi-sync: -- cgit v1.2.3