Added new SM_SKIPCHECKSUM variable in bldpkg and sample buildfile

Removed more redundant code from base/pkgtools build file
This commit is contained in:
SMLinux 2022-01-31 18:50:13 +05:30
parent 66fce9370a
commit 183616d75a
3 changed files with 8 additions and 3 deletions

View file

@ -35,5 +35,3 @@ build() {
mkfinalpkg
}
SHA512SUMS="
"

5
bldpkg
View file

@ -232,6 +232,9 @@ fi
trap "prepbuildsummary" EXIT
trap "interruptsummary" INT
verifychecksums
# Only verify source checksums if SM_SKIPCHECKSUM is not set in the build file
if [ -z "$SM_SKIPCHECKSUM" ] ; then
verifychecksums
fi
build

View file

@ -59,6 +59,10 @@ SM_NOAUTOCONFSITE=1
# which it normally wouldn't when the cache file was not used.
# This variable is optional.
SM_SKIPCHECKSUM=1
# ^ This variable, when set to 1, will cause the build system to skip checksum verifications. Use it when building
# packages that contain files without any extensions, like scripts or any binaries
HOMEPAGE=""
# ^ Add Homepage URL or website of the author of package to this