2018-02-17 12:04:23 +01:00
|
|
|
# Template file for 'libversion'
|
|
|
|
pkgname=libversion
|
2018-03-27 22:41:32 +02:00
|
|
|
version=2.6.0
|
2018-02-17 12:04:23 +01:00
|
|
|
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"
|
2018-03-27 22:41:32 +02:00
|
|
|
checksum=a95fac4fdcf6ac45772fa8b66f8c3a469e53395ca78fba2f92f0575d7a7458d2
|
2018-02-17 12:04:23 +01:00
|
|
|
|
|
|
|
post_install() {
|
|
|
|
vlicense COPYING
|
|
|
|
}
|
|
|
|
|
|
|
|
libversion-devel_package() {
|
|
|
|
short_desc+=" - development files"
|
2018-03-27 22:41:32 +02:00
|
|
|
depends="libversion-${version}_${revision}"
|
2018-02-17 12:04:23 +01:00
|
|
|
pkg_install() {
|
|
|
|
vmove usr/include
|
|
|
|
vmove usr/lib/pkgconfig
|
2018-03-27 22:41:32 +02:00
|
|
|
vmove "usr/lib/*.so"
|
|
|
|
vmove "usr/lib/*.a"
|
2018-02-17 12:04:23 +01:00
|
|
|
}
|
2018-03-27 22:41:32 +02:00
|
|
|
}
|