From 561cde6f8cedf91cb1d0e9a416201e9172f2577f Mon Sep 17 00:00:00 2001 From: Toyam Cox Date: Mon, 20 Apr 2020 19:16:52 -0400 Subject: [PATCH] hooktftp: update to 1.1.0. And adopt, since Vaelatern uses this now. --- srcpkgs/hooktftp/template | 26 ++++++++++---------------- 1 file changed, 10 insertions(+), 16 deletions(-) diff --git a/srcpkgs/hooktftp/template b/srcpkgs/hooktftp/template index abee0ccefd1..e1e669154b4 100644 --- a/srcpkgs/hooktftp/template +++ b/srcpkgs/hooktftp/template @@ -1,24 +1,18 @@ # Template file for 'hooktftp' pkgname=hooktftp -version=1.0.0 -revision=8 -_gitcommit="a7258310669522806b903c9ffc98ad7c62b02d56" -wrksrc="${pkgname}-${_gitcommit}" -hostmakedepends="go bzr git" +version=1.1.0 +revision=1 +build_style=go +go_import_path="github.com/tftp-go-team/hooktftp" +go_package="github.com/tftp-go-team/hooktftp/cmd/hooktftp" +hostmakedepends="bzr git" short_desc="Hook based tftp server" -maintainer="Andrea Brancaleoni " +maintainer="Toyam Cox " license="MIT" homepage="https://github.com/tftp-go-team/hooktftp" -distfiles="${homepage}/archive/${_gitcommit}.tar.gz" -checksum=42cbe6c402aee13722cb55ac1e3a22fc6be27c6313b7c59d7a7277c0e3a6065e -nocross=yes -nopie=yes +distfiles="https://github.com/tftp-go-team/hooktftp/archive/${version}.tar.gz" +checksum=74a29947509a4a718091a5571cc2b2bdbfae807499f06beae124e78afdc56cf9 -do_build() { - GOPATH=$PWD make build -} - -do_install() { +post_install() { vlicense LICENSE - vbin src/${pkgname} }