summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorXZS2016-09-22 01:19:31 +0200
committerXZS2016-09-22 01:19:31 +0200
commit5bef51feebae4bf7ba7c986b89b32d11c2ea4594 (patch)
tree2eac429beb128dbdc8dc3ad7371f0a4cb74abbd0
parent1be87cb469b59b55ffce485fb2f40a9c941ddc3c (diff)
downloadaur-5bef51feebae4bf7ba7c986b89b32d11c2ea4594.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 99cc308b0691..4f9f7b4f8f60 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -12,6 +12,7 @@ pkgbase = gnome-shell-extension-wintitle-git
conflicts = gnome-shell-extension-wintitle
source = gnome-shell-extension-wintitle::git+https://github.com/meghprkh/wintitle
md5sums = SKIP
+ sha256sums = SKIP
pkgname = gnome-shell-extension-wintitle-git
diff --git a/PKGBUILD b/PKGBUILD
index 6fdf7247e9be..9e8af9f63e8b 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -13,7 +13,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() {