23 lines
654 B
Bash
23 lines
654 B
Bash
# Template file for 'crane'
|
|
pkgname=crane
|
|
version=3.6.1
|
|
revision=2
|
|
build_style=go
|
|
short_desc="Lift containers with ease"
|
|
maintainer="Andrea Brancaleoni <abc@pompel.me>"
|
|
license="MIT"
|
|
go_import_path="github.com/michaelsauter/crane"
|
|
homepage="https://github.com/michaelsauter/crane"
|
|
distfiles="${homepage}/archive/v${version}.tar.gz"
|
|
checksum=d417f9f664bcb2365e5b8fced608ce66b7c029fe2d3bfbc23b81a263dd962461
|
|
|
|
pre_configure() {
|
|
sed -i 's|github.com/michaelsauter/crane/v3|github.com/michaelsauter/crane|g' go.mod
|
|
sed -i 's|github.com/michaelsauter/crane/v3|github.com/michaelsauter/crane|g' main.go
|
|
}
|
|
|
|
post_install() {
|
|
vlicense LICENSE
|
|
vdoc README.md
|
|
}
|