---
trules (574B)
---
1 #!/usr/bin/make -f
2 # Uncomment this to turn on verbose mode
3 #export DH_VERBOSE=1
4
5 export trusted_keyid=SOMEONE
6 export GNUPGHOME=$(CURDIR)/debian/tmp
7
8 %:
9 dh $@ --without autoreconf
10
11 override_dh_auto_build:
12 # check GPG sig for sha512sums and sha512sums for gpg keys
13 mkdir -p $(CURDIR)/debian/tmp
14 gpg --no-default-keyring \
15 --keyring /usr/share/keyrings/debian-keyring.gpg \
16 --trusted-key $(trusted_keyid) \
17 --no-auto-check-trustdb \
18 --decrypt $(CURDIR)/SHA512SUMS.txt.asc \
19 > $(CURDIR)/debian/tmp/SHA512SUMS.txt
20 sha512sum -c $(CURDIR)/debian/tmp/SHA512SUMS.txt |