extra/libphonenumber to 7.5.2-1

This commit is contained in:
Kevin Mihelich 2016-09-10 17:36:15 +00:00
parent 2287382550
commit 2689189e32

View file

@ -5,7 +5,7 @@
# - make -j1
pkgname=libphonenumber
pkgver=7.5.1
pkgver=7.5.2
pkgrel=1
pkgdesc="Google's common library for parsing, formatting, and validating international phone numbers"
arch=(i686 x86_64)
@ -14,7 +14,7 @@ makedepends=(boost cmake gtest)
url="https://github.com/googlei18n/libphonenumber"
license=("Apache")
source=("$url/archive/$pkgname-$pkgver.tar.gz")
sha256sums=('42bb57b8c582920fc2d96ed1db07bc4792ec0731bc0f1f24dbc1e177f99bb77d')
sha256sums=('c116c1299074b10ed8b862221ca57f822bae7637b717706ff2c71350f430b3b1')
prepare() {
mkdir -p build
@ -22,6 +22,7 @@ prepare() {
build() {
cd build
CXXFLAGS+=" -Wno-error=deprecated-declarations" # readdir_r deprecation
cmake -DCMAKE_INSTALL_PREFIX=/usr ../$pkgname-$pkgname-$pkgver/cpp
make -j1
}