diff --git a/srcpkgs/dlayer/template b/srcpkgs/dlayer/template new file mode 100644 index 00000000000..9b33ddc7657 --- /dev/null +++ b/srcpkgs/dlayer/template @@ -0,0 +1,23 @@ +# 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 " +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 +}