summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorXZS2016-09-22 01:20:23 +0200
committerXZS2016-09-22 01:20:23 +0200
commit46ee9efad2632c06b9480bdc2a0e810a10feb281 (patch)
tree568ec705f9c501721fa63c2ce39c266080c9b5a5
parent7f4654cdcdca35820cefd9261ae808742d261695 (diff)
downloadaur-46ee9efad2632c06b9480bdc2a0e810a10feb281.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 dbd06d7eb1e1..9e6f8b4a34c8 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -12,6 +12,7 @@ pkgbase = gnome-shell-extension-hidetopbar-git
conflicts = gnome-shell-extension-hidetopbar
source = gnome-shell-extension-hidetopbar::git+https://github.com/mlutfy/hidetopbar
md5sums = SKIP
+ sha256sums = SKIP
pkgname = gnome-shell-extension-hidetopbar-git
diff --git a/PKGBUILD b/PKGBUILD
index 04b7b88c65c0..a4c0d071a6ab 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -12,7 +12,11 @@ license=(GPLv2)
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() {