void-packages/srcpkgs/dlayer/template

24 lines
538 B
Bash

# Template file for 'dlayer'
pkgname=dlayer
version=0.1.0
revision=1
build_style=go
go_import_path=github.com/orisano/dlayer
hostmakedepends="git dep"
short_desc="Dlayer is a docker layer analyzer"
maintainer="Mate GABRI <iam@theguy.io>"
license="MIT"
homepage="https://github.com/orisano/dlayer"
distfiles="https://github.com/orisano/dlayer/archive/v${version}.tar.gz"
checksum=f449e141792b721bf107886ae367daa2e453a3d955f529a1ce68f80d26aa6446
pre_build() {
cd $GOSRCPATH
dep ensure
cd $wrksrc
}
post_install() {
vlicense LICENSE
}