Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/community/debian-archive-keyring
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2017-07-04 19:41:10 +0200
committerErich Eckner <git@eckner.net>2017-07-04 19:41:10 +0200
commit37cd2a8eea1a090d724b344a6c6773ca5e3b4cf3 (patch)
tree28dd831b904a4dd66f925ba071374ce5434b833f /community/debian-archive-keyring
parent3c003a4adf35dc3499c9574a067c44996d0b279a (diff)
community/debian-archive-keyring: require gnupg version of debian
Diffstat (limited to 'community/debian-archive-keyring')
-rw-r--r--community/debian-archive-keyring/PKGBUILD15
1 files changed, 15 insertions, 0 deletions
diff --git a/community/debian-archive-keyring/PKGBUILD b/community/debian-archive-keyring/PKGBUILD
new file mode 100644
index 00000000..dfeeb804
--- /dev/null
+++ b/community/debian-archive-keyring/PKGBUILD
@@ -0,0 +1,15 @@
+depends=(
+ $(
+ printf '%s\n' "${depends[@]}" | \
+ sed '
+ /^gnupg$/s/$/='"$(
+ curl 'https://packages.debian.org/sid/gnupg' 2> /dev/null | \
+ sed -n '
+ /Package:\sgnupg/{
+ s/^.*(\([^-]\+\)-.*$/\1/
+ p
+ }
+ '
+ )/"
+ )
+)