void-packages/srcpkgs/libversion/template

27 lines
676 B
Bash

# Template file for 'libversion'
pkgname=libversion
version=2.8.1
revision=1
build_style=cmake
short_desc="Advanced version string comparison library"
maintainer="maxice8 <thinkabit.ukim@gmail.com>"
license="MIT"
homepage="https://github.com/repology/libversion"
distfiles="https://github.com/repology/libversion/archive/${version}.tar.gz"
checksum=05ea425cf07be89a53cb925eb4ad7606b9f57437e144477313f2b6c4581cb923
post_install() {
vlicense COPYING
}
libversion-devel_package() {
short_desc+=" - development files"
depends="libversion-${version}_${revision}"
pkg_install() {
vmove usr/include
vmove usr/lib/pkgconfig
vmove "usr/lib/*.so"
vmove "usr/lib/*.a"
}
}