devuan-keyring

Devuan keyring package
git clone https://git.parazyd.org/devuan-keyring
Log | Files | Refs | README

commit 53039e6b2441b9bc1cd5df84f047cf1cf0b8dd69
parent f8aa5cc36db6641c02f1542fc913732d16f16c32
Author: parazyd <parazyd@dyne.org>
Date:   Tue, 10 Nov 2020 00:30:20 +0100

Add Makefile to ease my maintenance.

Diffstat:
AMakefile | 34++++++++++++++++++++++++++++++++++
1 file changed, 34 insertions(+), 0 deletions(-)

diff --git a/Makefile b/Makefile @@ -0,0 +1,34 @@ +.POSIX: + +# N.B. This makefile is for my personal package maintenance (parazyd) + +NAME = $(shell dpkg-parsechangelog -S Source) +VERSION = $(shell dpkg-parsechangelog -S Version | cut -d- -f1) +REV = $(shell dpkg-parsechangelog -S Version | cut -d- -f2) + +ORIGTGZ = ../$(NAME)_$(VERSION).orig.tar.gz +DEB = ../$(NAME)_$(VERSION)-$(REV)_all.deb + +KEYRINGS = \ + keyrings/devuan-archive-keyring.gpg \ + keyrings/devuan-keyring-2016-archive.gpg \ + keyrings/devuan-keyring-2016-cdimage.gpg \ + keyrings/devuan-keyring-2017-archive.gpg \ + keyrings/devuan-master-keyring.gpg + +all install clean: + +$(KEYRINGS): + +SHA512SUMS.txt.asc: $(KEYRINGS) + sha512sum keyrings/*.gpg | gpg --clearsign > $@ + +$(ORIGTGZ): + git archive --format=tar.gz $(VERSION) . -o $@ + +$(DEB): $(ORIGTGZ) + dpkg-buildpackage -d --force-sign + +deb: $(DEB) + +.PHONY: all install clean deb