summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlad Wenter2020-10-24 10:53:24 +0200
committerAlad Wenter2020-10-24 10:53:24 +0200
commitd5e779a198ccabae072652eaad0dcbc9a63bbecb (patch)
tree38638087916805858554cde472a11d8a6c303032
parent813ff7946c202cfcd8dc27953a9160f1dc102c02 (diff)
downloadaur-d5e779a198ccabae072652eaad0dcbc9a63bbecb.tar.gz
aurutils: include signify public key as seperate file
-rw-r--r--.SRCINFO2
-rw-r--r--PKGBUILD13
-rw-r--r--aurutils.pub2
3 files changed, 9 insertions, 8 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 2a07b7d3f5e..1b5ec8f356d 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -18,8 +18,10 @@ pkgbase = aurutils
optdepends = vifm: build file interaction
source = aurutils-2.3.7.tar.gz::https://github.com/AladW/aurutils/archive/2.3.7.tar.gz
source = aurutils-2.3.7.tar.gz.signify::https://github.com/AladW/aurutils/releases/download/2.3.7/2.3.7.tar.gz.sig
+ source = aurutils.pub
sha256sums = bae2f7211cb80626f260e1ebcb2c061751407a03f1ab8898bc80182888502bef
sha256sums = SKIP
+ sha256sums = b952fc11638af129ac98c0924819f3b12fb0660d1d09b780fe1b245d8467cd66
pkgname = aurutils
diff --git a/PKGBUILD b/PKGBUILD
index 075e72d05d5..6a35497e077 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -7,22 +7,19 @@ url='https://github.com/AladW/aurutils'
arch=('any')
license=('custom:ISC')
source=("$pkgname-$pkgver.tar.gz::$url/archive/$pkgver.tar.gz"
- "$pkgname-$pkgver.tar.gz.signify::$url/releases/download/$pkgver/$pkgver.tar.gz.sig")
+ "$pkgname-$pkgver.tar.gz.signify::$url/releases/download/$pkgver/$pkgver.tar.gz.sig"
+ "aurutils.pub")
depends=('git' 'jq' 'expac' 'diffstat' 'pacutils' 'wget')
makedepends=('git' 'signify')
optdepends=('bash-completion: bash completion'
'devtools: aur-chroot'
'vifm: build file interaction')
sha256sums=('bae2f7211cb80626f260e1ebcb2c061751407a03f1ab8898bc80182888502bef'
- 'SKIP')
-_validsignifykey='RWQawitEue1JU2SxUyRD8LXP8m36QsbaHOkKfvZBfhj00EXBYiDZilp0'
+ 'SKIP'
+ 'b952fc11638af129ac98c0924819f3b12fb0660d1d09b780fe1b245d8467cd66')
prepare() {
- cat >aurutils-23.pub <<EOF
-untrusted comment: signify public key
-$_validsignifykey
-EOF
- signify -V -p aurutils-23.pub -m "$pkgname-$pkgver".tar.gz \
+ signify -V -p aurutils.pub -m "$pkgname-$pkgver".tar.gz \
-x "$pkgname-$pkgver".tar.gz.signify
}
diff --git a/aurutils.pub b/aurutils.pub
new file mode 100644
index 00000000000..165409f9435
--- /dev/null
+++ b/aurutils.pub
@@ -0,0 +1,2 @@
+untrusted comment: signify public key
+RWQawitEue1JU2SxUyRD8LXP8m36QsbaHOkKfvZBfhj00EXBYiDZilp0