summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorXZS2016-09-22 01:29:35 +0200
committerXZS2016-09-22 01:29:35 +0200
commit72597144e3be07515613af7f4d472ca8ecd36e4f (patch)
treed9805220dd5363c22ba27cba5b7612036081295f
parentdeb71c207054cb42158abb80694ba8093e8b309d (diff)
downloadaur-72597144e3be07515613af7f4d472ca8ecd36e4f.tar.gz
support arbitrary integrity checks
The git-makepkg-templates switched to dynamic adaptation to integrity checks chosen in makepkg.conf. [1] The default checksums chosen reflect recommendations from the Arch Linux Wiki and manual pages. [2] [1]: https://github.com/dffischer/git-makepkg-templates/commit/e84d04b [2]: https://aur.archlinux.org/cgit/aur.git/commit/?h=git-makepkg-templates-git&id=c2ccaaa
-rw-r--r--.SRCINFO1
-rw-r--r--PKGBUILD6
2 files changed, 6 insertions, 1 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 4b42b7c3f401..77a4eaaa7eb7 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -12,6 +12,7 @@ pkgbase = mozilla-extension-gnome-keyring-git
conflicts = mozilla-extension-gnome-keyring
source = mozilla-extension-gnome-keyring::git+https://github.com/swick/mozilla-gnome-keyring
md5sums = SKIP
+ sha256sums = SKIP
pkgname = mozilla-extension-gnome-keyring-git
diff --git a/PKGBUILD b/PKGBUILD
index 049e3a5d3220..0a57df1b7c6b 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -17,7 +17,11 @@ optdepends=(firefox thunderbird)
makedepends+=('git')
source+=("${_gitname:=${pkgname%-git}}::${_giturl:-git+$url}")
-md5sums+=('SKIP')
+for integ in $(get_integlist)
+do
+ typeset -n array="${integ}sums"
+ array+=('SKIP')
+done
provides+=("$_gitname=$pkgver")
conflicts+=("$_gitname")