Unverified Commit 43c9dcb7 authored by Justin Kromlinger's avatar Justin Kromlinger
Browse files

Suffix pkgver to binary on download to fix validity check errors on updates

parent 1f3dbee2
Pipeline #279 passed with stage
in 1 minute and 23 seconds
......@@ -7,10 +7,9 @@ license=('Apache')
arch=('x86_64')
provides=('terraformer')
url='https://github.com/GoogleCloudPlatform/terraformer'
_binary="terraformer-linux-amd64"
source=("${url}/releases/download/${pkgver}/${_binary}")
source=("terraformer-${pkgver}::${url}/releases/download/${pkgver}/terraformer-linux-amd64")
sha256sums=(dcc39afde53bdffe6a60ec0c49d9fb1d8ed6947d863e18a5198dfeba25358ff4)
package() {
install -D -m 755 "${_binary}" "${pkgdir}/usr/bin/terraformer"
install -D -m 755 "terraformer-${pkgver}" "${pkgdir}/usr/bin/terraformer"
}
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment