2021-12-10 19:16:28 +00:00
|
|
|
# Template file for 'libphonenumber'
|
|
|
|
pkgname=libphonenumber
|
2021-12-11 23:20:09 +00:00
|
|
|
version=8.12.39
|
2021-12-10 19:16:28 +00:00
|
|
|
revision=1
|
|
|
|
build_wrksrc=cpp
|
|
|
|
build_style=cmake
|
|
|
|
build_helper=qemu
|
2021-12-11 23:20:09 +00:00
|
|
|
configure_args="-DREGENERATE_METADATA=OFF"
|
2021-12-10 19:16:28 +00:00
|
|
|
hostmakedepends="pkg-config protobuf"
|
|
|
|
makedepends="boost-devel gtest-devel icu-devel protobuf-devel"
|
|
|
|
short_desc="Google's common library for handling international phone numbers"
|
|
|
|
maintainer="Louis Dupré Bertoni <contact@louisdb.xyz>"
|
|
|
|
license="Apache-2.0"
|
|
|
|
homepage="https://github.com/googlei18n/libphonenumber"
|
|
|
|
distfiles="https://github.com/google/libphonenumber/archive/refs/tags/v${version}.tar.gz"
|
2021-12-11 23:20:09 +00:00
|
|
|
checksum=ff16330f130917e42bc0b1a7efe5e4fba46633bfa62e35268acec855e17e385c
|
2021-12-10 19:16:28 +00:00
|
|
|
|
|
|
|
libphonenumber-devel_package() {
|
|
|
|
depends="${sourcepkg}>=${version}_${revision}"
|
|
|
|
short_desc+=" - development files"
|
|
|
|
pkg_install() {
|
|
|
|
vmove usr/include
|
|
|
|
vmove "usr/lib/*.a"
|
|
|
|
vmove "usr/lib/*.so"
|
|
|
|
}
|
|
|
|
}
|