27 lines
695 B
Bash
27 lines
695 B
Bash
# Template file for 'libversion'
|
|
pkgname=libversion
|
|
version=3.0.1
|
|
revision=1
|
|
build_style=cmake
|
|
short_desc="Advanced version string comparison library"
|
|
maintainer="Orphaned <orphan@voidlinux.org>"
|
|
license="MIT"
|
|
homepage="https://github.com/repology/libversion"
|
|
distfiles="https://github.com/repology/libversion/archive/${version}.tar.gz"
|
|
checksum=2b4ac5a6aa84a6b1795d9194c260517b709c9723d020ca61d9030ad2cfd7ea57
|
|
|
|
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"
|
|
}
|
|
}
|