diff options
author | XZS | 2016-09-22 01:19:59 +0200 |
---|---|---|
committer | XZS | 2016-09-22 01:19:59 +0200 |
commit | 5dbfd8795f3d58bddc0f2f32a4ce7a6a4692d052 (patch) | |
tree | 13de4e95dce9256b95642910b1c4427a60626d79 | |
parent | 09ef02c81d4e31f8f4691b3dab6bbc1da80af7e8 (diff) | |
download | aur-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-- | .SRCINFO | 1 | ||||
-rw-r--r-- | PKGBUILD | 6 |
2 files changed, 6 insertions, 1 deletions
@@ -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 @@ -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() { |