This commit is contained in:
ed barz 2020-05-02 19:23:16 +02:00
parent 9733193f42
commit ae6990472b
2 changed files with 5 additions and 14 deletions

View File

@ -1,22 +1,14 @@
INSTALL_PATH=/opt
EXEC=waterfox
BIN_PATH=/usr/local/bin
ARCHIVE=waterfox-current-2019.10.en-US.linux-x86_64.tar.bz2
DISTURL=https://file.brz9.dev/waterfox/
SHA=$(ARCHIVE).sha256sum
SHADIFF=$(shell sha256sum $(ARCHIVE) | diff $(SHA) -)
SRC_URL="https://storage-waterfox.netdna-ssl.com/releases/linux64/installer"
W_VERS="2020.04.en-US.linux-x86_64"
ARCHIVE=$(W_VERS).tar.bz2
$(ARCHIVE):
wget $(DISTURL)/$(ARCHIVE)
ifeq ($(strip $(SHADIFF)),)
check: $(ARCHIVE)
$(info $(ARCHIVE) seems ok)
else
check: $(SHA) $(ARCHIVE)
$(error $(ARCHIVE) seems corrupted)
endif
wget $(SRC_URL)/$(ARCHIVE)
install: $(ARCHIVE)
tar -xf $(ARCHIVE) -C $(INSTALL_PATH)

View File

@ -1 +0,0 @@
03b0ab4e89787fbbc513c55f9c85c8cd7e2063c2bcd66cbe3ca4e2b56fcf31d1 waterfox-current-2019.10.en-US.linux-x86_64.tar.bz2