Date: Sunday, April 3, 2016 @ 00:34:20 Author: fyan Revision: 263793 archrelease: copy trunk to staging-i686, staging-x86_64
Added: libphonenumber/repos/staging-i686/ libphonenumber/repos/staging-i686/PKGBUILD (from rev 263792, libphonenumber/trunk/PKGBUILD) libphonenumber/repos/staging-x86_64/ libphonenumber/repos/staging-x86_64/PKGBUILD (from rev 263792, libphonenumber/trunk/PKGBUILD) -------------------------+ staging-i686/PKGBUILD | 34 ++++++++++++++++++++++++++++++++++ staging-x86_64/PKGBUILD | 34 ++++++++++++++++++++++++++++++++++ 2 files changed, 68 insertions(+) Copied: libphonenumber/repos/staging-i686/PKGBUILD (from rev 263792, libphonenumber/trunk/PKGBUILD) =================================================================== --- staging-i686/PKGBUILD (rev 0) +++ staging-i686/PKGBUILD 2016-04-02 22:34:20 UTC (rev 263793) @@ -0,0 +1,34 @@ +# $Id$ +# Maintainer: Jan Alexander Steffens (heftig) <jan.steff...@gmail.com> + +pkgname=libphonenumber +pkgver=7.2.5 +pkgrel=2 +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=('2d9d613bfb3611909ec681fd3e328bb0ec5e2fbcf12539599ae67a4446361d3a') + +prepare() { + mkdir -p build +} + +build() { + cd build + cmake -DCMAKE_INSTALL_PREFIX=/usr ../$pkgname-$pkgname-$pkgver/cpp + make generate_geocoding_data all +} + +check() { + cd build + make test +} + +package() { + cd build + make DESTDIR="$pkgdir" install +} Copied: libphonenumber/repos/staging-x86_64/PKGBUILD (from rev 263792, libphonenumber/trunk/PKGBUILD) =================================================================== --- staging-x86_64/PKGBUILD (rev 0) +++ staging-x86_64/PKGBUILD 2016-04-02 22:34:20 UTC (rev 263793) @@ -0,0 +1,34 @@ +# $Id$ +# Maintainer: Jan Alexander Steffens (heftig) <jan.steff...@gmail.com> + +pkgname=libphonenumber +pkgver=7.2.5 +pkgrel=2 +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=('2d9d613bfb3611909ec681fd3e328bb0ec5e2fbcf12539599ae67a4446361d3a') + +prepare() { + mkdir -p build +} + +build() { + cd build + cmake -DCMAKE_INSTALL_PREFIX=/usr ../$pkgname-$pkgname-$pkgver/cpp + make generate_geocoding_data all +} + +check() { + cd build + make test +} + +package() { + cd build + make DESTDIR="$pkgdir" install +}