New package: libphonenumber-8.12.38

This commit is contained in:
Louis Dupré Bertoni 2021-12-10 21:16:28 +02:00 committed by John
parent 55d5484336
commit f226db2668
3 changed files with 33 additions and 0 deletions

View File

@ -4071,3 +4071,5 @@ libm4ri-0.0.20200125.so m4ri-20200125_1
libm4rie-0.0.20200125.so m4rie-20200125_1
libptytty.so.0 libptytty-2.0_1
libcoeurl.so.0 coeurl-0.1.0_1
libphonenumber.so.8 libphonenumber-8.12.38_1
libgeocoding.so.8 libphonenumber-8.12.38_1

View File

@ -0,0 +1 @@
libphonenumber

View File

@ -0,0 +1,30 @@
# Template file for 'libphonenumber'
pkgname=libphonenumber
version=8.12.38
revision=1
build_wrksrc=cpp
build_style=cmake
build_helper=qemu
make_cmd=make
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"
checksum=6a57c68550c382ac176715e275d4bed6deac1b5736df2e184e34653da1f141c2
pre_configure() {
export CMAKE_GENERATOR="Unix Makefiles"
}
libphonenumber-devel_package() {
depends="${sourcepkg}>=${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove "usr/lib/*.a"
vmove "usr/lib/*.so"
}
}