28 lines
695 B
Bash
28 lines
695 B
Bash
# Template file for 'libversion'
|
|
pkgname=libversion
|
|
version=3.0.0
|
|
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=e7e576de4044dd186f642132ee3fec5392d909f69fc8e26590f4c372f92adee0
|
|
|
|
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"
|
|
}
|
|
}
|