From 3f49193fbf543642b9c2dffaa149a8e0edf8898e Mon Sep 17 00:00:00 2001 From: Kevin Mihelich Date: Sun, 23 Oct 2022 21:37:48 +0000 Subject: [PATCH] removed extra/libphonenumber --- extra/libphonenumber/PKGBUILD | 50 ----------------------------------- 1 file changed, 50 deletions(-) delete mode 100644 extra/libphonenumber/PKGBUILD diff --git a/extra/libphonenumber/PKGBUILD b/extra/libphonenumber/PKGBUILD deleted file mode 100644 index b40c81d0c..000000000 --- a/extra/libphonenumber/PKGBUILD +++ /dev/null @@ -1,50 +0,0 @@ -# Maintainer: Jan Alexander Steffens (heftig) - -# ALARM: Kevin Mihelich -# - re-add makedepend on java - -pkgname=libphonenumber -pkgver=8.12.56 -pkgrel=2 -epoch=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 abseil-cpp) -makedepends=(boost cmake gtest git 'java-environment>=9') -options=(debug) -_commit=222e5a8b3650e8ee56731c042389880a6587e1f9 # tags/v8.12.56^0 -source=("git+$url#commit=$_commit") -sha256sums=('SKIP') - -pkgver() { - cd $pkgname - git describe --tags | sed 's/^libphonenumber-\|^v//;s/[^-]*-g/r&/;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 \ - -DCMAKE_BUILD_TYPE=None \ - -DCMAKE_CXX_STANDARD=17 - 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 -}