summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorXZS2016-09-22 01:20:42 +0200
committerXZS2016-09-22 01:20:42 +0200
commit18b094400e6c276ef48b1a7d43e00511bdca39f2 (patch)
treef6c5bc3a3362f62a3057096834326f39f0e86a86
parent196d4cf810de65107116cccd42899155205e2e61 (diff)
downloadaur-18b094400e6c276ef48b1a7d43e00511bdca39f2.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 51acacdf2f3..63d7c21adee 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -13,6 +13,7 @@ pkgbase = gnome-shell-extension-caffeine-git
conflicts = gnome-shell-extension-caffeine
source = gnome-shell-extension-caffeine::git+https://github.com/eonpatapon/gnome-shell-extension-caffeine
md5sums = SKIP
+ sha256sums = SKIP
pkgname = gnome-shell-extension-caffeine-git
diff --git a/PKGBUILD b/PKGBUILD
index 26608032ad3..63720698a2b 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -13,7 +13,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() {