summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorXZS2016-09-22 01:28:54 +0200
committerXZS2016-09-22 01:28:54 +0200
commitdfdf2a838f985c0bb03f18d04a2e7b67df320f5d (patch)
treec0d947d7f341c13dc099e22bb2d4b4a5fe9815e3
parentbef5a09fec14419999b2c883a7cffa925491aed5 (diff)
downloadaur-dfdf2a838f985c0bb03f18d04a2e7b67df320f5d.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 a836bf8247db..f66b8afaf9e4 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -13,6 +13,7 @@ pkgbase = firefox-extension-beyond-australis-git
replaces = firefox-extension-the-fox-only-better
source = firefox-extension-beyond-australis::git+https://github.com/Quicksaver/The-Fox--Only-Better
md5sums = SKIP
+ sha256sums = SKIP
pkgname = firefox-extension-beyond-australis-git
diff --git a/PKGBUILD b/PKGBUILD
index 80bbbd857320..a1110306b0f9 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -14,7 +14,11 @@ replaces=('firefox-extension-the-fox-only-better')
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")