mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2026-05-05 12:26:52 +02:00
testing/tfupdate: new aport
This commit is contained in:
parent
8a612f9116
commit
593ade1074
29
testing/tfupdate/APKBUILD
Normal file
29
testing/tfupdate/APKBUILD
Normal file
@ -0,0 +1,29 @@
|
||||
# Maintainer: Thiago Perrotta <tbperrotta@gmail.com>
|
||||
pkgname=tfupdate
|
||||
pkgver=0.8.2
|
||||
pkgrel=0
|
||||
pkgdesc="Update version constraints in your Terraform configurations"
|
||||
url="https://github.com/minamijoyo/tfupdate"
|
||||
arch="all"
|
||||
license="MIT"
|
||||
makedepends="go"
|
||||
subpackages="$pkgname-doc"
|
||||
source="$pkgname$pkgver.tar.gz::https://github.com/minamijoyo/tfupdate/archive/refs/tags/v$pkgver.tar.gz"
|
||||
options="net"
|
||||
|
||||
build() {
|
||||
go build -o tfupdate-bin .
|
||||
}
|
||||
|
||||
check() {
|
||||
go test ./...
|
||||
}
|
||||
|
||||
package() {
|
||||
install -Dm755 tfupdate-bin "$pkgdir/usr/bin/$pkgname"
|
||||
install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
|
||||
}
|
||||
|
||||
sha512sums="
|
||||
58cc4c3ff680a7a9b7fa9977e1250f1f30eb2e6a996dd8adfc0377ed51377bc2dd8b5ba16fae78a8e030ba226e7984f751d4fd9e48737a0c94e43bf635248d8f tfupdate0.8.2.tar.gz
|
||||
"
|
||||
Loading…
x
Reference in New Issue
Block a user