summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorXZS2016-09-22 01:20:32 +0200
committerXZS2016-09-22 01:20:32 +0200
commit694e2352282b40506c1f8717ede43696835728e6 (patch)
tree812e18d900a288bf08fa190278ec4a3f88e8c546
parent69826fe6fc5889434e29446aedcbc062e4d45126 (diff)
downloadaur-694e2352282b40506c1f8717ede43696835728e6.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 8bad0fd91492..f077d948989b 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -14,6 +14,7 @@ pkgbase = gnome-shell-extension-dash-to-dock-git
conflicts = gnome-shell-extension-dash-to-dock
source = gnome-shell-extension-dash-to-dock::git+https://github.com/micheleg/dash-to-dock/
md5sums = SKIP
+ sha256sums = SKIP
pkgname = gnome-shell-extension-dash-to-dock-git
diff --git a/PKGBUILD b/PKGBUILD
index 19a4e41ff729..f5e9fd46d96b 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -18,7 +18,11 @@ makedepends=('intltool')
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() {