abr: also add coreutils-sha512sum

This commit is contained in:
psykose 2023-05-31 02:53:52 +00:00
parent be0aef322f
commit ab29141c36
2 changed files with 11 additions and 3 deletions

View file

@ -1,6 +1,6 @@
# Maintainer: psykose <alice@ayaya.dev> # Maintainer: psykose <alice@ayaya.dev>
pkgname=abr pkgname=abr
pkgver=12 pkgver=13
pkgrel=0 pkgrel=0
pkgdesc="abr~!" pkgdesc="abr~!"
url="https://git.ddd.rip/ptrcnull/aports" url="https://git.ddd.rip/ptrcnull/aports"
@ -41,6 +41,6 @@ package() {
} }
sha512sums=" sha512sums="
337868e81aeee37323afeb967b7c8fb1ab9b768459a251eca8670f2f9a26fabfb30f7609a96200cc3f2ffc051ab035b7ecf22f9e03c86e3bce00e434f935335e abr 6f751736a2a36e9c1b4ac0bed6c0a3f9afad283daa619f5a298b561f3c5d0139b40314b04a5cdfc39f1fc70b87db0ed34283c4b64c5ad808b085b26ad448af23 abr
71d8cb1e5e57ff739915fa4de1f5699afa60ab36e2e5219c4c366af5ceab24dc6ee55e738d29ca2b63dd5e387de7661594fc86bf2183d787932e75b4c03c6a9f apkbuild-anitya 71d8cb1e5e57ff739915fa4de1f5699afa60ab36e2e5219c4c366af5ceab24dc6ee55e738d29ca2b63dd5e387de7661594fc86bf2183d787932e75b4c03c6a9f apkbuild-anitya
" "

10
abr/abr
View file

@ -25,7 +25,7 @@ if [ -z "$_CLEAN" ]; then
"$0" "$@" "$0" "$@"
fi fi
while getopts "j:fhmnsx" opt; do while getopts "j:fhmnsxN" opt; do
case "$opt" in case "$opt" in
'j') 'j')
jobs="$OPTARG" jobs="$OPTARG"
@ -58,6 +58,10 @@ while getopts "j:fhmnsx" opt; do
# skip checks # skip checks
export ABUILD_BOOTSTRAP=1 export ABUILD_BOOTSTRAP=1
;; ;;
'N')
# skip extras
nosha512sum=1
;;
*) *)
echo "invalid argument passed" echo "invalid argument passed"
exit 1 exit 1
@ -116,6 +120,10 @@ fi
export EXTRADEPENDS_BUILD="$extra pigz xz" export EXTRADEPENDS_BUILD="$extra pigz xz"
if [ -z "$nosha512sum" ]; then
export EXTRADEPENDS_BUILD="$EXTRADEPENDS_BUILD coreutils-sha512sum"
fi
# ignore user gitconfig always # ignore user gitconfig always
export GIT_CONFIG_GLOBAL="$(mktemp)" export GIT_CONFIG_GLOBAL="$(mktemp)"