summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorXZS2016-09-22 01:19:59 +0200
committerXZS2016-09-22 01:19:59 +0200
commit5dbfd8795f3d58bddc0f2f32a4ce7a6a4692d052 (patch)
tree13de4e95dce9256b95642910b1c4427a60626d79
parent09ef02c81d4e31f8f4691b3dab6bbc1da80af7e8 (diff)
downloadaur-5dbfd8795f3d58bddc0f2f32a4ce7a6a4692d052.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 2ead733ba1c3..df694823f44b 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -12,6 +12,7 @@ pkgbase = gnome-shell-extension-middleclickclose-git
conflicts = gnome-shell-extension-middleclickclose
source = gnome-shell-extension-middleclickclose::git+https://github.com/p91paul/middleclickclose
md5sums = SKIP
+ sha256sums = SKIP
pkgname = gnome-shell-extension-middleclickclose-git
diff --git a/PKGBUILD b/PKGBUILD
index 8a21405f2637..95cc4c780e79 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -12,7 +12,11 @@ license=(GPL)
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")
pkgver() {