Simplify sha256sum check

This commit is contained in:
Cezar Lungu 2024-06-22 17:39:49 +02:00
parent e6bb283da2
commit c2cd7e5b6a
No known key found for this signature in database
1 changed files with 3 additions and 1 deletions

View File

@ -16,7 +16,9 @@ prepare: clean install_build_deps
@echo "Download installer"
@wget -nv $(BASE_URL) -O source/deezer-setup-$(PKGVER).exe
@echo "$(SHA256) source/deezer-setup-$(PKGVER).exe" | sha256sum -c --status || echo "SHA256 not matching!" && exit 1
@echo "Verify installer"
@echo "$(SHA256) source/deezer-setup-$(PKGVER).exe" | sha256sum -c --status || exit 1
@echo "Extract app archive from installer"
@cd source && 7z x -so deezer-setup-$(PKGVER).exe '$$PLUGINSDIR/app-32.7z' > app-32.7z