summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorXZS2016-09-22 01:20:05 +0200
committerXZS2016-09-22 01:20:05 +0200
commit8884c3720ca2d535eec6863ee3c53a133d085191 (patch)
tree9115f0e72799119113192bdf7ebb357b2b70e0cd
parent635c3f181ae005f1f05e154d48f5d144dc4dbbad (diff)
downloadaur-8884c3720ca2d535eec6863ee3c53a133d085191.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 0e9232d069d..1af7ad77f00 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -15,6 +15,7 @@ pkgbase = gnome-shell-extension-mediaplayer-git
conflicts = gnome-shell-extension-mediaplayer
source = gnome-shell-extension-mediaplayer::git+https://github.com/eonpatapon/gnome-shell-extensions-mediaplayer
md5sums = SKIP
+ sha256sums = SKIP
pkgname = gnome-shell-extension-mediaplayer-git
diff --git a/PKGBUILD b/PKGBUILD
index 01c7f7b2819..d3f02beeace 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -17,7 +17,11 @@ install=gschemas.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() {