Fix: Use unique name for downloaded source archive

Signed-off-by: Knut Ahlers <knut@ahlers.me>
This commit is contained in:
Knut Ahlers 2021-11-13 00:54:54 +01:00
parent 75a044a458
commit 9f145f208b
Signed by: luzifer
GPG key ID: 0066F03ED215AD7D
2 changed files with 2 additions and 2 deletions

View file

@ -7,7 +7,7 @@ pkgbase = gofumpt
arch = x86_64
license = custom
makedepends = go
source = gofumpt::https://github.com/mvdan/gofumpt/archive/v0.2.0.tar.gz
source = gofumpt-0.2.0.tar.gz::https://github.com/mvdan/gofumpt/archive/v0.2.0.tar.gz
sha512sums = 4bd5376b1a72cf7510c883657e17e9d7e33049cce7956cc3c4a3e5d0428c25f3c659d50359bae725d1b66530471b1b41ca8698bc46d74c58683a6edb5cd71afe
pkgname = gofumpt

View file

@ -8,7 +8,7 @@ arch=('i686' 'x86_64')
url="https://github.com/mvdan/gofumpt"
license=('custom')
makedepends=('go')
source=("${pkgname}::https://github.com/mvdan/gofumpt/archive/v${pkgver}.tar.gz")
source=("${pkgname}-${pkgver}.tar.gz::https://github.com/mvdan/gofumpt/archive/v${pkgver}.tar.gz")
sha512sums=('4bd5376b1a72cf7510c883657e17e9d7e33049cce7956cc3c4a3e5d0428c25f3c659d50359bae725d1b66530471b1b41ca8698bc46d74c58683a6edb5cd71afe')
build() {