hooktftp: update to 1.1.0.

And adopt, since Vaelatern uses this now.
This commit is contained in:
Toyam Cox 2020-04-20 19:16:52 -04:00 committed by Toyam Cox
parent a5a2f3033f
commit 34c0785665

View file

@ -1,24 +1,18 @@
# Template file for 'hooktftp' # Template file for 'hooktftp'
pkgname=hooktftp pkgname=hooktftp
version=1.0.0 version=1.1.0
revision=8 revision=1
_gitcommit="a7258310669522806b903c9ffc98ad7c62b02d56" build_style=go
wrksrc="${pkgname}-${_gitcommit}" go_import_path="github.com/tftp-go-team/hooktftp"
hostmakedepends="go bzr git" go_package="github.com/tftp-go-team/hooktftp/cmd/hooktftp"
hostmakedepends="bzr git"
short_desc="Hook based tftp server" short_desc="Hook based tftp server"
maintainer="Andrea Brancaleoni <abc@pompel.me>" maintainer="Toyam Cox <Vaelatern@voidlinux.org>"
license="MIT" license="MIT"
homepage="https://github.com/tftp-go-team/hooktftp" homepage="https://github.com/tftp-go-team/hooktftp"
distfiles="${homepage}/archive/${_gitcommit}.tar.gz" distfiles="https://github.com/tftp-go-team/hooktftp/archive/${version}.tar.gz"
checksum=42cbe6c402aee13722cb55ac1e3a22fc6be27c6313b7c59d7a7277c0e3a6065e checksum=74a29947509a4a718091a5571cc2b2bdbfae807499f06beae124e78afdc56cf9
nocross=yes
nopie=yes
do_build() { post_install() {
GOPATH=$PWD make build
}
do_install() {
vlicense LICENSE vlicense LICENSE
vbin src/${pkgname}
} }