Date: Monday, February 15, 2016 @ 18:38:37 Author: heftig Revision: 259312
7.2.5 Added: libphonenumber/trunk/PKGBUILD ----------+ PKGBUILD | 37 +++++++++++++++++++++++++++++++++++++ 1 file changed, 37 insertions(+) Added: PKGBUILD =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2016-02-15 17:38:37 UTC (rev 259312) @@ -0,0 +1,37 @@ +# $Id$ +# Maintainer: Jan Alexander Steffens (heftig) <[email protected]> + +pkgname=libphonenumber +pkgver=7.2.5 +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=('2d9d613bfb3611909ec681fd3e328bb0ec5e2fbcf12539599ae67a4446361d3a') + +prepare() { + mkdir -p build + cd $pkgname-$pkgname-$pkgver + sed -i '/-Werror/d' cpp/CMakeLists.txt +} + +build() { + cd build + cmake -DCMAKE_INSTALL_PREFIX=/usr ../$pkgname-$pkgname-$pkgver/cpp + make generate_geocoding_data_test libphonenumber_test geocoding_test_program geocoding-shared phonenumber-shared +} + +check() { + cd build + ./libphonenumber_test + ./geocoding_test_program +} + +package() { + cd build + make DESTDIR="$pkgdir" install +} Property changes on: libphonenumber/trunk/PKGBUILD ___________________________________________________________________ Added: svn:keywords ## -0,0 +1 ## +Id \ No newline at end of property
