void-packages/srcpkgs/got/template

24 lines
717 B
Bash

# Template file for 'got'
pkgname=got
version=0.70
revision=1
wrksrc=got-portable-${version}
build_style=gnu-configure
hostmakedepends="automake byacc pkg-config"
makedepends="libmd-devel zlib-devel libuuid-devel libbsd-devel ncurses-devel openssl-devel"
short_desc="VCS which prioritizes ease of use and simplicity over flexibility"
maintainer="Omar Polo <op@omarpolo.com>"
license="ISC"
homepage="https://gameoftrees.org"
distfiles="https://gameoftrees.org/releases/portable/got-portable-${version}.tar.gz"
checksum="2e534ed89f794a61543e6d2cb306903ea04f93977ed241004585c6b85e8b074e"
pre_configure() {
autoreconf -fi
}
post_install() {
sed -n '/Copyright/,/PERFORMANCE/p' got/got.c > LICENSE
vlicense LICENSE
}