Date: Friday, February 10, 2017 @ 21:37:08 Author: jelle Revision: 288561
db-move: moved libphonenumber from [staging] to [testing] (i686, x86_64) Added: libphonenumber/repos/testing-i686/ libphonenumber/repos/testing-i686/PKGBUILD (from rev 288560, libphonenumber/repos/staging-i686/PKGBUILD) libphonenumber/repos/testing-x86_64/ libphonenumber/repos/testing-x86_64/PKGBUILD (from rev 288560, libphonenumber/repos/staging-x86_64/PKGBUILD) Deleted: libphonenumber/repos/staging-i686/ libphonenumber/repos/staging-x86_64/ -------------------------+ testing-i686/PKGBUILD | 41 +++++++++++++++++++++++++++++++++++++++++ testing-x86_64/PKGBUILD | 41 +++++++++++++++++++++++++++++++++++++++++ 2 files changed, 82 insertions(+) Copied: libphonenumber/repos/testing-i686/PKGBUILD (from rev 288560, libphonenumber/repos/staging-i686/PKGBUILD) =================================================================== --- testing-i686/PKGBUILD (rev 0) +++ testing-i686/PKGBUILD 2017-02-10 21:37:08 UTC (rev 288561) @@ -0,0 +1,41 @@ +# $Id$ +# Maintainer: Jan Alexander Steffens (heftig) <jan.steff...@gmail.com> + +pkgname=libphonenumber +pkgver=8.0.1 +pkgrel=2 +pkgdesc="Google's common library for parsing, formatting, and validating international phone numbers" +url="https://github.com/googlei18n/libphonenumber" +arch=(i686 x86_64) +depends=(icu protobuf boost-libs) +makedepends=(boost cmake gtest git java-environment) +license=("Apache") +_commit=717c7d7476669686ff2190da4c84938bc38bc0dc # tags/v8.0.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 + cmake -DCMAKE_INSTALL_PREFIX=/usr ../$pkgname/cpp + make +} + +check() { + cd build + make tests +} + +package() { + cd build + make DESTDIR="$pkgdir" install +} Copied: libphonenumber/repos/testing-x86_64/PKGBUILD (from rev 288560, libphonenumber/repos/staging-x86_64/PKGBUILD) =================================================================== --- testing-x86_64/PKGBUILD (rev 0) +++ testing-x86_64/PKGBUILD 2017-02-10 21:37:08 UTC (rev 288561) @@ -0,0 +1,41 @@ +# $Id$ +# Maintainer: Jan Alexander Steffens (heftig) <jan.steff...@gmail.com> + +pkgname=libphonenumber +pkgver=8.0.1 +pkgrel=2 +pkgdesc="Google's common library for parsing, formatting, and validating international phone numbers" +url="https://github.com/googlei18n/libphonenumber" +arch=(i686 x86_64) +depends=(icu protobuf boost-libs) +makedepends=(boost cmake gtest git java-environment) +license=("Apache") +_commit=717c7d7476669686ff2190da4c84938bc38bc0dc # tags/v8.0.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 + cmake -DCMAKE_INSTALL_PREFIX=/usr ../$pkgname/cpp + make +} + +check() { + cd build + make tests +} + +package() { + cd build + make DESTDIR="$pkgdir" install +}