summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorXZS2016-09-22 01:20:19 +0200
committerXZS2016-09-22 01:20:19 +0200
commita00bb2d75f45037bac3cda2f53c2ef4b30d86d16 (patch)
treeffe79446e361976b6e8a71d8a8648c4a09ca86b5
parentceac96bf7b0cdc068b2d65fcc805c302722f32bb (diff)
downloadaur-a00bb2d75f45037bac3cda2f53c2ef4b30d86d16.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 80b5863c78b3..cbb8daaca1f0 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -14,6 +14,7 @@ pkgbase = gnome-shell-extension-maximus-two-git
conflicts = gnome-shell-extension-maximus-two
source = gnome-shell-extension-maximus-two::git+https://github.com/danielkza/GnomeExtensionMaximusTwo
md5sums = SKIP
+ sha256sums = SKIP
pkgname = gnome-shell-extension-maximus-two-git
diff --git a/PKGBUILD b/PKGBUILD
index 6b35b47a6125..0152bd07c1e1 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -14,7 +14,11 @@ install=notice.install
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() {