mirror of
https://github.com/safing/portmaster-packaging.git
synced 2026-05-20 20:10:34 +00:00
28 lines
633 B
Makefile
Executable File
28 lines
633 B
Makefile
Executable File
#!/usr/bin/make -f
|
|
STARTURL ?= https://updates.safing.io/latest/linux_amd64/start/portmaster-start\?CI
|
|
|
|
.PHONY: icons
|
|
|
|
# We don't build here, we download the built binaries
|
|
build: icons portmaster-start
|
|
|
|
%:
|
|
dh $@
|
|
|
|
#portmaster.png:
|
|
# convert logo.png -resize 32x32 portmaster.png
|
|
|
|
icons:
|
|
for res in 16 32 48 96 128 ; do \
|
|
mkdir -p icons/$$res ; \
|
|
convert ./portmaster_logo.png -resize $${res}x$${res} icons/$${res}/portmaster.png ; \
|
|
done
|
|
|
|
portmaster-start:
|
|
curl --fail --user-agent GitHub -o portmaster-start $(STARTURL)
|
|
|
|
#Don't run strip for go-binaries
|
|
override_dh_strip:
|
|
|
|
override_dh_installsystemd:
|
|
dh_installsystemd -r
|