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 arch = x86_64
license = custom license = custom
makedepends = go 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 sha512sums = 4bd5376b1a72cf7510c883657e17e9d7e33049cce7956cc3c4a3e5d0428c25f3c659d50359bae725d1b66530471b1b41ca8698bc46d74c58683a6edb5cd71afe
pkgname = gofumpt pkgname = gofumpt

View File

@ -8,7 +8,7 @@ arch=('i686' 'x86_64')
url="https://github.com/mvdan/gofumpt" url="https://github.com/mvdan/gofumpt"
license=('custom') license=('custom')
makedepends=('go') 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') sha512sums=('4bd5376b1a72cf7510c883657e17e9d7e33049cce7956cc3c4a3e5d0428c25f3c659d50359bae725d1b66530471b1b41ca8698bc46d74c58683a6edb5cd71afe')
build() { build() {