vp-build/srcpkgs/libversion/template
2018-10-16 08:54:24 -03:00

27 lines
676 B
Bash

# Template file for 'libversion'
pkgname=libversion
version=2.7.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=fce20444b65b700b760be7aecf775447b1dd7562186f7f6cd724a536b5078227
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"
}
}