[arch-commits] Commit in libphonenumber/repos/testing-x86_64 (PKGBUILD PKGBUILD)

Jan Steffens heftig at archlinux.org
Sat May 8 18:28:19 UTC 2021


    Date: Saturday, May 8, 2021 @ 18:28:19
  Author: heftig
Revision: 414757

archrelease: copy trunk to testing-x86_64

Added:
  libphonenumber/repos/testing-x86_64/PKGBUILD
    (from rev 414756, libphonenumber/trunk/PKGBUILD)
Deleted:
  libphonenumber/repos/testing-x86_64/PKGBUILD

----------+
 PKGBUILD |   84 +++++++++++++++++++++++++++++++------------------------------
 1 file changed, 43 insertions(+), 41 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2021-05-08 18:27:55 UTC (rev 414756)
+++ PKGBUILD	2021-05-08 18:28:19 UTC (rev 414757)
@@ -1,41 +0,0 @@
-# Maintainer: Jan Alexander Steffens (heftig) <heftig at archlinux.org>
-
-pkgname=libphonenumber
-pkgver=8.12.21
-pkgrel=2
-pkgdesc="Google's common library for parsing, formatting, and validating international phone numbers"
-url="https://github.com/googlei18n/libphonenumber"
-arch=(x86_64)
-license=(Apache)
-depends=(icu protobuf boost-libs)
-makedepends=(boost cmake gtest git 'java-environment>=9')
-provides=(libgeocoding.so libphonenumber.so)
-_commit=2679415ddc93dea237015fc52b172fcc4167a0b7  # tags/v8.12.21^0
-source=("git+$url#commit=$_commit")
-sha256sums=('SKIP')
-
-pkgver() {
-  cd $pkgname
-  git describe --tags | sed 's/^libphonenumber-\|^v//;s/-/+/g'
-}
-
-prepare() {
-  cd $pkgname
-}
-
-build() {
-  CXXFLAGS+=" -Wno-error=deprecated-declarations"  # readdir_r deprecation
-  CXXFLAGS+=" -Wno-error=unused-variable"  # this is nuts
-  cmake -S $pkgname/cpp -B build \
-    -DCMAKE_INSTALL_PREFIX=/usr \
-    -DCMAKE_INSTALL_LIBDIR=lib
-  cmake --build build
-}
-
-check() {
-  cmake --build build --target tests
-}
-
-package() {
-  DESTDIR="$pkgdir" cmake --install build
-}

Copied: libphonenumber/repos/testing-x86_64/PKGBUILD (from rev 414756, libphonenumber/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2021-05-08 18:28:19 UTC (rev 414757)
@@ -0,0 +1,43 @@
+# Maintainer: Jan Alexander Steffens (heftig) <heftig at archlinux.org>
+
+pkgname=libphonenumber
+pkgver=8.12.22
+pkgrel=1
+pkgdesc="Google's common library for parsing, formatting, and validating international phone numbers"
+url="https://github.com/googlei18n/libphonenumber"
+arch=(x86_64)
+license=(Apache)
+depends=(icu protobuf boost-libs)
+makedepends=(boost cmake gtest git 'java-environment>=9')
+_commit=23bede8f3f1e8abf4099b6366b4c87fbf695dba3  # tags/v8.12.22^0
+source=("git+$url#commit=$_commit")
+sha256sums=('SKIP')
+
+pkgver() {
+  cd $pkgname
+  git describe --tags | sed 's/^libphonenumber-\|^v//;s/-/+/g'
+}
+
+prepare() {
+  cd $pkgname
+}
+
+build() {
+  CXXFLAGS+=" -Wno-error=deprecated-declarations"  # readdir_r deprecation
+  CXXFLAGS+=" -Wno-error=unused-variable"  # this is nuts
+  cmake -S $pkgname/cpp -B build \
+    -DCMAKE_INSTALL_PREFIX=/usr \
+    -DCMAKE_INSTALL_LIBDIR=lib
+  cmake --build build
+}
+
+check() {
+  cmake --build build --target tests
+}
+
+package() {
+  depends+=(libicu{uc,i18n}.so libprotobuf.so libboost_thread.so)
+  provides+=(libgeocoding.so libphonenumber.so)
+
+  DESTDIR="$pkgdir" cmake --install build
+}



More information about the arch-commits mailing list