mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2025-03-19 00:21:40 +00:00
extra/libphonenumber to 7.5.2-1
This commit is contained in:
parent
2287382550
commit
2689189e32
1 changed files with 3 additions and 2 deletions
|
@ -5,7 +5,7 @@
|
||||||
# - make -j1
|
# - make -j1
|
||||||
|
|
||||||
pkgname=libphonenumber
|
pkgname=libphonenumber
|
||||||
pkgver=7.5.1
|
pkgver=7.5.2
|
||||||
pkgrel=1
|
pkgrel=1
|
||||||
pkgdesc="Google's common library for parsing, formatting, and validating international phone numbers"
|
pkgdesc="Google's common library for parsing, formatting, and validating international phone numbers"
|
||||||
arch=(i686 x86_64)
|
arch=(i686 x86_64)
|
||||||
|
@ -14,7 +14,7 @@ makedepends=(boost cmake gtest)
|
||||||
url="https://github.com/googlei18n/libphonenumber"
|
url="https://github.com/googlei18n/libphonenumber"
|
||||||
license=("Apache")
|
license=("Apache")
|
||||||
source=("$url/archive/$pkgname-$pkgver.tar.gz")
|
source=("$url/archive/$pkgname-$pkgver.tar.gz")
|
||||||
sha256sums=('42bb57b8c582920fc2d96ed1db07bc4792ec0731bc0f1f24dbc1e177f99bb77d')
|
sha256sums=('c116c1299074b10ed8b862221ca57f822bae7637b717706ff2c71350f430b3b1')
|
||||||
|
|
||||||
prepare() {
|
prepare() {
|
||||||
mkdir -p build
|
mkdir -p build
|
||||||
|
@ -22,6 +22,7 @@ prepare() {
|
||||||
|
|
||||||
build() {
|
build() {
|
||||||
cd build
|
cd build
|
||||||
|
CXXFLAGS+=" -Wno-error=deprecated-declarations" # readdir_r deprecation
|
||||||
cmake -DCMAKE_INSTALL_PREFIX=/usr ../$pkgname-$pkgname-$pkgver/cpp
|
cmake -DCMAKE_INSTALL_PREFIX=/usr ../$pkgname-$pkgname-$pkgver/cpp
|
||||||
make -j1
|
make -j1
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue