void-packages/srcpkgs/libversion/template
maxice8 c7a7c6e29c New package: libversion-2.5.0.
Closes: #12335 [via git-merge-pr]
2018-03-15 19:28:59 -07:00

25 lines
655 B
Bash

# Template file for 'libversion'
pkgname=libversion
version=2.5.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=19c027eb44153439e2ed0af639703d5230f489b2cbe85d59a218f3e0572a8ab9
post_install() {
vlicense COPYING
}
libversion-devel_package() {
depends="${sourcepkg}-${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove "usr/lib/*.a"
vmove usr/lib/pkgconfig
}
}