# Template file for 'lhasa'
pkgname=lhasa
version=0.3.1
revision=2
build_style=gnu-configure
hostmakedepends="automake libtool"
short_desc="Free Software LHA implementation"
maintainer="Hill Ma <maahiuzeon@gmail.com>"
license="ISC"
homepage="https://github.com/fragglet/lhasa"
distfiles="https://github.com/fragglet/lhasa/releases/download/v${version}/lhasa-${version}.tar.gz"
checksum=3fb08e5f85a9b9dd023922896be9157d5fb5c0448424681810aaa2b0558a5f24

post_install() {
	vlicense COPYING
}

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