diff options
author | TobFromme | 2023-01-27 08:37:38 -0500 |
---|---|---|
committer | TobFromme | 2023-01-27 08:37:38 -0500 |
commit | 4dea86baeca5600967c7459dfebcb3d083a3c1ef (patch) | |
tree | fbe4ec75293790cfac2210e1a0998ccb6eadfe60 /PKGBUILD | |
parent | b420788bbb25fe25ba188bfa8350b6ce9411bacd (diff) | |
download | aur-4dea86baeca5600967c7459dfebcb3d083a3c1ef.tar.gz |
Add PGP key instructions during build
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 7 |
1 files changed, 6 insertions, 1 deletions
@@ -7,7 +7,7 @@ pkgname=spotify pkgver=1.1.84.716 epoch=1 _commit=gc5f8b819-2 -pkgrel=7 +pkgrel=8 pkgdesc='A proprietary music streaming service' arch=('x86_64') license=('custom') @@ -48,6 +48,11 @@ validpgpkeys=('F9A211976ED662F00E59361E5E3C45D7B312C643' 'E27409F51D1B66337F2D2F # 2EBF997C15BDA244B6EBF5D84773BD5E130D1D45 prepare() { + echo -e "\nINSTALLATION NOTE:\n" + echo -e "If installation fails with 'One or more PGP signatures could not be verified', then install the key with:\n" + echo -e " curl -sS https://download.spotify.com/debian/pubkey_7A3A762FAFD4A51.gpg | gpg --import -\n" + echo -e "Then retry the installation.\n" + # Validate hashes from the PGP signed "Release" file echo "$(grep non-free/binary-amd64/Packages ${pkgname}-${pkgver}-${pkgrel}-Release | tail -n 2 | head -n 1 | awk '{print $1}') ${pkgname}-${pkgver}-${pkgrel}-x86_64-Packages" \ > "${pkgname}-${pkgver}-x86_64-Packages.sha256" |