20 lines
442 B
Makefile
20 lines
442 B
Makefile
INSTALL_PATH=/opt
|
|
EXEC=waterfox
|
|
BIN_PATH=/usr/local/bin
|
|
|
|
SRC_URL="https://cdn1.waterfox.net/waterfox/releases/G5.1.1/Linux_x86_64/"
|
|
|
|
ARCHIVE=waterfox-G5.1.1.tar.bz2
|
|
|
|
$(ARCHIVE):
|
|
wget $(SRC_URL)/$(ARCHIVE)
|
|
|
|
install: $(ARCHIVE)
|
|
tar -xf $(ARCHIVE) -C $(INSTALL_PATH)
|
|
ln -s $(INSTALL_PATH)/waterfox/waterfox $(BIN_PATH)/$(EXEC)
|
|
cp waterfox.desktop /usr/share/applications/
|
|
|
|
uninstall:
|
|
rm -rf $(INSTALL_PATH)/waterfox
|
|
rm $(BIN_PATH)/$(EXEC)
|