# Template file for 'aptly'
pkgname=aptly
version=1.6.3
revision=1
build_style=go
go_import_path=github.com/aptly-dev/aptly
short_desc="Debian repository management tool"
maintainer="Orphaned <orphan@voidlinux.org>"
license="MIT"
homepage="https://www.aptly.info/"
distfiles="https://github.com/aptly-dev/aptly/archive/v$version.tar.gz"
checksum=689a0b4f110ab2528ae271c3884b92304e0fdf7a3bf4ee93f60705f4a27d4952
# tests require substrate not available, etcd server, network, loopback fs, etc
make_check=no

pre_build() {
	# cant run make prepare from tgz, no git metadata
	printf '%s' "${version}" > VERSION
}

post_install() {
	vlicense LICENSE
}
