31 lines
638 B
Makefile
Executable file
31 lines
638 B
Makefile
Executable file
#!/usr/bin/make -f
|
|
|
|
VERSION=0.41.0
|
|
ARCHITECTURE=amd64
|
|
PACKAGE_NAME=dufs
|
|
DOWNLOAD_NAME=dufs-v$(VERSION)-x86_64-unknown-linux-musl.tar.gz
|
|
DOWNLOAD_URL=https://github.com/sigoden/dufs/releases/download/v$(VERSION)/$(DOWNLOAD_NAME)
|
|
|
|
%:
|
|
dh "$@"
|
|
|
|
leafee98_truncate_changelog:
|
|
rm --force debian/changelog
|
|
debchange --create \
|
|
--package $(PACKAGE_NAME) \
|
|
--newversion $(VERSION) \
|
|
"Auto build"
|
|
|
|
|
|
leafee98_prepare:
|
|
curl --location \
|
|
--show-error \
|
|
--output $(DOWNLOAD_NAME) \
|
|
$(DOWNLOAD_URL)
|
|
tar -xf $(DOWNLOAD_NAME)
|
|
|
|
|
|
override_dh_installsystemd:
|
|
dh_installsystemd --name remark42 --no-enable --no-start --restart-after-upgrade
|
|
|