# Template file for 'asignify'
pkgname=asignify
version=1.0
revision=4
build_style=gnu-configure
hostmakedepends="automake libtool"
short_desc="Yet another signify tool"
maintainer="Orphaned <orphan@voidlinux.org>"
license="BSD-2-Clause"
homepage="https://github.com/vstakhov/asignify"
distfiles="https://github.com/vstakhov/asignify/archive/${version}.tar.gz"
checksum=81272713900b51049633139549181fa23e56eeb580e0ea0325546d2fe7ca503d

pre_configure() {
	NOCONFIGURE=1 ./autogen.sh
}
do_install() {
	make PREFIX=/usr mandir=/usr/share/man DESTDIR=${DESTDIR} install
	vlicense LICENSE
}

asignify-devel_package() {
	short_desc+=" - development files"
	depends="${sourcepkg}>=${version}_${revision}"
	pkg_install() {
		vmove usr/include
		vmove usr/lib/*.a
		vmove usr/lib/*.so
	}
}
