void-packages/srcpkgs/libversion/template

26 lines
675 B
Bash
Raw Normal View History

# Template file for 'libversion'
pkgname=libversion
version=2.6.0
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=a95fac4fdcf6ac45772fa8b66f8c3a469e53395ca78fba2f92f0575d7a7458d2
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"
}
}