void-packages/srcpkgs/libversion/template

28 lines
698 B
Bash

# Template file for 'libversion'
pkgname=libversion
version=2.9.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=ab95e62759a53c2ea2428b39d2e864589f64137c1150f56d166a4754b34736ea
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/cmake
vmove "usr/lib/*.so"
vmove "usr/lib/*.a"
}
}