debian-packages/debhelper/dufs-bin/debian/rules

26 lines
525 B
Plaintext
Raw Permalink Normal View History

2024-05-25 13:22:34 +00:00
#!/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)