Date: Sunday, September 10, 2017 @ 09:02:42
  Author: heftig
Revision: 305223

archrelease: copy trunk to staging-i686, staging-x86_64

Added:
  libphonenumber/repos/staging-i686/
  libphonenumber/repos/staging-i686/PKGBUILD
    (from rev 305222, libphonenumber/trunk/PKGBUILD)
  libphonenumber/repos/staging-x86_64/
  libphonenumber/repos/staging-x86_64/PKGBUILD
    (from rev 305222, libphonenumber/trunk/PKGBUILD)

-------------------------+
 staging-i686/PKGBUILD   |   43 +++++++++++++++++++++++++++++++++++++++++++
 staging-x86_64/PKGBUILD |   43 +++++++++++++++++++++++++++++++++++++++++++
 2 files changed, 86 insertions(+)

Copied: libphonenumber/repos/staging-i686/PKGBUILD (from rev 305222, 
libphonenumber/trunk/PKGBUILD)
===================================================================
--- staging-i686/PKGBUILD                               (rev 0)
+++ staging-i686/PKGBUILD       2017-09-10 09:02:42 UTC (rev 305223)
@@ -0,0 +1,43 @@
+# $Id$
+# Maintainer: Jan Alexander Steffens (heftig) <jan.steff...@gmail.com>
+
+pkgname=libphonenumber
+pkgver=8.8.1
+pkgrel=1
+pkgdesc="Google's common library for parsing, formatting, and validating 
international phone numbers"
+url="https://github.com/googlei18n/libphonenumber";
+arch=(i686 x86_64)
+license=(Apache)
+depends=(icu protobuf boost-libs)
+makedepends=(boost cmake gtest git java-environment ninja)
+_commit=648d6427a7abbdb79a7a3e9ce97b8b230a61fef8  # tags/v8.8.1^0
+source=("git+$url#commit=$_commit")
+sha256sums=('SKIP')
+
+pkgver() {
+  cd $pkgname
+  git describe --tags | sed 's/^libphonenumber-\|^v//;s/-/+/g'
+}
+
+prepare() {
+  mkdir -p build
+}
+
+build() {
+  cd build
+  CXXFLAGS+=" -Wno-error=deprecated-declarations"  # readdir_r deprecation
+  CXXFLAGS+=" -Wno-error=unused-variable"  # this is nuts
+  cmake ../$pkgname/cpp -G Ninja \
+    -DCMAKE_INSTALL_PREFIX=/usr
+  ninja
+}
+
+check() {
+  cd build
+  ninja tests
+}
+
+package() {
+  cd build
+  DESTDIR="$pkgdir" ninja install
+}

Copied: libphonenumber/repos/staging-x86_64/PKGBUILD (from rev 305222, 
libphonenumber/trunk/PKGBUILD)
===================================================================
--- staging-x86_64/PKGBUILD                             (rev 0)
+++ staging-x86_64/PKGBUILD     2017-09-10 09:02:42 UTC (rev 305223)
@@ -0,0 +1,43 @@
+# $Id$
+# Maintainer: Jan Alexander Steffens (heftig) <jan.steff...@gmail.com>
+
+pkgname=libphonenumber
+pkgver=8.8.1
+pkgrel=1
+pkgdesc="Google's common library for parsing, formatting, and validating 
international phone numbers"
+url="https://github.com/googlei18n/libphonenumber";
+arch=(i686 x86_64)
+license=(Apache)
+depends=(icu protobuf boost-libs)
+makedepends=(boost cmake gtest git java-environment ninja)
+_commit=648d6427a7abbdb79a7a3e9ce97b8b230a61fef8  # tags/v8.8.1^0
+source=("git+$url#commit=$_commit")
+sha256sums=('SKIP')
+
+pkgver() {
+  cd $pkgname
+  git describe --tags | sed 's/^libphonenumber-\|^v//;s/-/+/g'
+}
+
+prepare() {
+  mkdir -p build
+}
+
+build() {
+  cd build
+  CXXFLAGS+=" -Wno-error=deprecated-declarations"  # readdir_r deprecation
+  CXXFLAGS+=" -Wno-error=unused-variable"  # this is nuts
+  cmake ../$pkgname/cpp -G Ninja \
+    -DCMAKE_INSTALL_PREFIX=/usr
+  ninja
+}
+
+check() {
+  cd build
+  ninja tests
+}
+
+package() {
+  cd build
+  DESTDIR="$pkgdir" ninja install
+}

Reply via email to