From ab29141c36098be14b7560d50345ddb54cd58c0b Mon Sep 17 00:00:00 2001 From: psykose Date: Wed, 31 May 2023 02:53:52 +0000 Subject: [PATCH] abr: also add coreutils-sha512sum --- abr/APKBUILD | 4 ++-- abr/abr | 10 +++++++++- 2 files changed, 11 insertions(+), 3 deletions(-) diff --git a/abr/APKBUILD b/abr/APKBUILD index a433029..b27241e 100644 --- a/abr/APKBUILD +++ b/abr/APKBUILD @@ -1,6 +1,6 @@ # Maintainer: psykose pkgname=abr -pkgver=12 +pkgver=13 pkgrel=0 pkgdesc="abr~!" url="https://git.ddd.rip/ptrcnull/aports" @@ -41,6 +41,6 @@ package() { } sha512sums=" -337868e81aeee37323afeb967b7c8fb1ab9b768459a251eca8670f2f9a26fabfb30f7609a96200cc3f2ffc051ab035b7ecf22f9e03c86e3bce00e434f935335e abr +6f751736a2a36e9c1b4ac0bed6c0a3f9afad283daa619f5a298b561f3c5d0139b40314b04a5cdfc39f1fc70b87db0ed34283c4b64c5ad808b085b26ad448af23 abr 71d8cb1e5e57ff739915fa4de1f5699afa60ab36e2e5219c4c366af5ceab24dc6ee55e738d29ca2b63dd5e387de7661594fc86bf2183d787932e75b4c03c6a9f apkbuild-anitya " diff --git a/abr/abr b/abr/abr index 293c5db..a8dd114 100755 --- a/abr/abr +++ b/abr/abr @@ -25,7 +25,7 @@ if [ -z "$_CLEAN" ]; then "$0" "$@" fi -while getopts "j:fhmnsx" opt; do +while getopts "j:fhmnsxN" opt; do case "$opt" in 'j') jobs="$OPTARG" @@ -58,6 +58,10 @@ while getopts "j:fhmnsx" opt; do # skip checks export ABUILD_BOOTSTRAP=1 ;; + 'N') + # skip extras + nosha512sum=1 + ;; *) echo "invalid argument passed" exit 1 @@ -116,6 +120,10 @@ fi export EXTRADEPENDS_BUILD="$extra pigz xz" +if [ -z "$nosha512sum" ]; then + export EXTRADEPENDS_BUILD="$EXTRADEPENDS_BUILD coreutils-sha512sum" +fi + # ignore user gitconfig always export GIT_CONFIG_GLOBAL="$(mktemp)"