27 lines
880 B
Bash
27 lines
880 B
Bash
# Template file for 'libphonenumber'
|
|
pkgname=libphonenumber
|
|
version=8.12.39
|
|
revision=10
|
|
build_wrksrc=cpp
|
|
build_style=cmake
|
|
build_helper=qemu
|
|
configure_args="-DREGENERATE_METADATA=OFF"
|
|
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=ff16330f130917e42bc0b1a7efe5e4fba46633bfa62e35268acec855e17e385c
|
|
|
|
libphonenumber-devel_package() {
|
|
depends="${sourcepkg}>=${version}_${revision} protobuf-devel"
|
|
short_desc+=" - development files"
|
|
pkg_install() {
|
|
vmove usr/include
|
|
vmove "usr/lib/*.a"
|
|
vmove "usr/lib/*.so"
|
|
}
|
|
}
|