void-packages/srcpkgs/lhasa/template
J Farkas e7c0b059a3 common/shlibs: correct lhasa pkg name
To avoid installation failure:
[*] Updating repository ...
MISSING: liblhasa>=0.3.1_1
Transaction aborted due to unresolved dependencies.
2021-07-10 22:06:19 +07:00

27 lines
704 B
Bash

# 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"
}
}