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 | |
parent | b420788bbb25fe25ba188bfa8350b6ce9411bacd (diff) | |
download | aur-4dea86baeca5600967c7459dfebcb3d083a3c1ef.tar.gz |
Add PGP key instructions during build
-rw-r--r-- | .SRCINFO | 8 | ||||
-rw-r--r-- | PKGBUILD | 7 |
2 files changed, 10 insertions, 5 deletions
@@ -1,7 +1,7 @@ pkgbase = spotify pkgdesc = A proprietary music streaming service pkgver = 1.1.84.716 - pkgrel = 7 + pkgrel = 8 epoch = 1 url = https://www.spotify.com arch = x86_64 @@ -22,9 +22,9 @@ pkgbase = spotify source = spotify.protocol source = LICENSE source = spotify-1.1.84.716-gc5f8b819-2-x86_64.deb::http://repository.spotify.com/pool/non-free/s/spotify-client/spotify-client_1.1.84.716.gc5f8b819-2_amd64.deb - source = spotify-1.1.84.716-7-Release::http://repository.spotify.com/dists/testing/Release - source = spotify-1.1.84.716-7-Release.sig::http://repository.spotify.com/dists/testing/Release.gpg - source = spotify-1.1.84.716-7-x86_64-Packages::http://repository.spotify.com/dists/testing/non-free/binary-amd64/Packages + source = spotify-1.1.84.716-8-Release::http://repository.spotify.com/dists/testing/Release + source = spotify-1.1.84.716-8-Release.sig::http://repository.spotify.com/dists/testing/Release.gpg + source = spotify-1.1.84.716-8-x86_64-Packages::http://repository.spotify.com/dists/testing/non-free/binary-amd64/Packages validpgpkeys = F9A211976ED662F00E59361E5E3C45D7B312C643 validpgpkeys = E27409F51D1B66337F2D2F417A3A762FAFD4A51F sha512sums = 999abe46766a4101e27477f5c9f69394a4bb5c097e2e048ec2c6cb93dfa1743eb436bde3768af6ba1b90eaac78ea8589d82e621f9cbe7d9ab3f41acee6e8ca20 @@ -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" |