[arch-commits] Commit in libphonenumber/repos (4 files)
Jan Steffens
heftig at archlinux.org
Wed Aug 17 20:43:09 UTC 2016
Date: Wednesday, August 17, 2016 @ 20:43:09
Author: heftig
Revision: 273887
archrelease: copy trunk to staging-i686, staging-x86_64
Added:
libphonenumber/repos/staging-i686/
libphonenumber/repos/staging-i686/PKGBUILD
(from rev 273886, libphonenumber/trunk/PKGBUILD)
libphonenumber/repos/staging-x86_64/
libphonenumber/repos/staging-x86_64/PKGBUILD
(from rev 273886, libphonenumber/trunk/PKGBUILD)
-------------------------+
staging-i686/PKGBUILD | 35 +++++++++++++++++++++++++++++++++++
staging-x86_64/PKGBUILD | 35 +++++++++++++++++++++++++++++++++++
2 files changed, 70 insertions(+)
Copied: libphonenumber/repos/staging-i686/PKGBUILD (from rev 273886, libphonenumber/trunk/PKGBUILD)
===================================================================
--- staging-i686/PKGBUILD (rev 0)
+++ staging-i686/PKGBUILD 2016-08-17 20:43:09 UTC (rev 273887)
@@ -0,0 +1,35 @@
+# $Id$
+# Maintainer: Jan Alexander Steffens (heftig) <jan.steffens at gmail.com>
+
+pkgname=libphonenumber
+pkgver=7.5.2
+pkgrel=1
+pkgdesc="Google's common library for parsing, formatting, and validating international phone numbers"
+arch=(i686 x86_64)
+depends=(icu protobuf boost-libs)
+makedepends=(boost cmake gtest)
+url="https://github.com/googlei18n/libphonenumber"
+license=("Apache")
+source=("$url/archive/$pkgname-$pkgver.tar.gz")
+sha256sums=('c116c1299074b10ed8b862221ca57f822bae7637b717706ff2c71350f430b3b1')
+
+prepare() {
+ mkdir -p build
+}
+
+build() {
+ cd build
+ CXXFLAGS+=" -Wno-error=deprecated-declarations" # readdir_r deprecation
+ cmake -DCMAKE_INSTALL_PREFIX=/usr ../$pkgname-$pkgname-$pkgver/cpp
+ make
+}
+
+check() {
+ cd build
+ make tests
+}
+
+package() {
+ cd build
+ make DESTDIR="$pkgdir" install
+}
Copied: libphonenumber/repos/staging-x86_64/PKGBUILD (from rev 273886, libphonenumber/trunk/PKGBUILD)
===================================================================
--- staging-x86_64/PKGBUILD (rev 0)
+++ staging-x86_64/PKGBUILD 2016-08-17 20:43:09 UTC (rev 273887)
@@ -0,0 +1,35 @@
+# $Id$
+# Maintainer: Jan Alexander Steffens (heftig) <jan.steffens at gmail.com>
+
+pkgname=libphonenumber
+pkgver=7.5.2
+pkgrel=1
+pkgdesc="Google's common library for parsing, formatting, and validating international phone numbers"
+arch=(i686 x86_64)
+depends=(icu protobuf boost-libs)
+makedepends=(boost cmake gtest)
+url="https://github.com/googlei18n/libphonenumber"
+license=("Apache")
+source=("$url/archive/$pkgname-$pkgver.tar.gz")
+sha256sums=('c116c1299074b10ed8b862221ca57f822bae7637b717706ff2c71350f430b3b1')
+
+prepare() {
+ mkdir -p build
+}
+
+build() {
+ cd build
+ CXXFLAGS+=" -Wno-error=deprecated-declarations" # readdir_r deprecation
+ cmake -DCMAKE_INSTALL_PREFIX=/usr ../$pkgname-$pkgname-$pkgver/cpp
+ make
+}
+
+check() {
+ cd build
+ make tests
+}
+
+package() {
+ cd build
+ make DESTDIR="$pkgdir" install
+}
More information about the arch-commits
mailing list