From bb148aa16d513bc37761fc8009e9d0cb5dfc98f9 Mon Sep 17 00:00:00 2001 From: EnumDev Date: Fri, 12 Jun 2026 11:45:01 +0300 Subject: [PATCH] Update package version to 4.0.4 --- check-version.sh | 11 ++++++++--- pkg.info => info.yml | 6 ++++-- source.sh => recipe.sh | 2 +- 3 files changed, 13 insertions(+), 6 deletions(-) rename pkg.info => info.yml (74%) rename source.sh => recipe.sh (91%) diff --git a/check-version.sh b/check-version.sh index cd89e29..84b540a 100644 --- a/check-version.sh +++ b/check-version.sh @@ -1,4 +1,9 @@ -#!/bin/sh +#!/bin/bash -# Ignore this package -echo "ignore" +# Github repository +REPO="ncroxon/gnu-efi" + +# Get tag name using Github Rest API +TAG_NAME=$(curl -s -L -H "X-GitHub-Api-Version: 2022-11-28" -H "Authorization: token ${GITHUB_API_TOKEN}" https://api.github.com/repos/"$REPO"/releases/latest | jq -r '.tag_name') + +echo "$TAG_NAME" diff --git a/pkg.info b/info.yml similarity index 74% rename from pkg.info rename to info.yml index 7e3b051..052eb62 100644 --- a/pkg.info +++ b/info.yml @@ -1,9 +1,11 @@ name: gnu-efi description: Develop EFI applications using the GNU toolchain and the EFI development environment -version: 3.0.18 +version: 4.0.4 revision: 1 url: https://github.com/ncroxon/gnu-efi license: BSD-2-Clause +maintainers: + - enumdev@enumerated.dev architecture: any type: source options: @@ -12,4 +14,4 @@ downloads: - url: https://github.com/ncroxon/gnu-efi/archive/refs/tags/${BPM_PKG_VERSION}.tar.gz extract_to: ${BPM_SOURCE} extract_strip_components: 1 - checksum: 60bbd8bec24bfef808cd871231931ad9e2f95485b1160bda2c64e52655f6655d + checksum: 40b61e842a4efcbf80f3e53b2f220c044e8cfe46eb4dd6396c83b751240b1c0d diff --git a/source.sh b/recipe.sh similarity index 91% rename from source.sh rename to recipe.sh index a5c6b9e..d80cbee 100644 --- a/source.sh +++ b/recipe.sh @@ -1,4 +1,4 @@ -# This is the source.sh script. It is executed by BPM in a temporary directory when compiling a source package +# This is the recipe.sh script. It is executed by BPM in a temporary directory when compiling a source package # BPM Expects the source code to be extracted into the automatically created 'source' directory which can be accessed using $BPM_SOURCE # BPM Expects the output files to be present in the automatically created 'output' directory which can be accessed using $BPM_OUTPUT