[arch-commits] Commit in abseil-cpp (3 files)
Massimiliano Torromeo
mtorromeo at archlinux.org
Tue Jun 1 10:23:53 UTC 2021
Date: Tuesday, June 1, 2021 @ 10:23:53
Author: mtorromeo
Revision: 952945
archrelease: copy trunk to community-x86_64
Added:
abseil-cpp/repos/
abseil-cpp/repos/community-x86_64/
abseil-cpp/repos/community-x86_64/PKGBUILD
(from rev 952944, abseil-cpp/trunk/PKGBUILD)
----------+
PKGBUILD | 33 +++++++++++++++++++++++++++++++++
1 file changed, 33 insertions(+)
Copied: abseil-cpp/repos/community-x86_64/PKGBUILD (from rev 952944, abseil-cpp/trunk/PKGBUILD)
===================================================================
--- repos/community-x86_64/PKGBUILD (rev 0)
+++ repos/community-x86_64/PKGBUILD 2021-06-01 10:23:53 UTC (rev 952945)
@@ -0,0 +1,33 @@
+# Maintainer: Massimiliano Torromeo <massimiliano.torromeo at gmail.com>
+# Contributor: Aleksandar Trifunović <akstrfn at gmail dot com>
+
+pkgname=abseil-cpp
+pkgver=20210324.1
+pkgrel=1
+pkgdesc="High performance, open source, general RPC framework that puts mobile and HTTP/2 first."
+arch=('x86_64')
+url='https://abseil.io'
+license=('Apache')
+makedepends=('cmake')
+source=("https://github.com/abseil/abseil-cpp/archive/v$pkgver/$pkgname-$pkgver.tar.gz")
+sha256sums=('441db7c09a0565376ecacf0085b2d4c2bbedde6115d7773551bc116212c2a8d6')
+
+prepare() {
+ cd "$srcdir/$pkgname-$pkgver"
+ cmake -Bbuild \
+ -DCMAKE_BUILD_TYPE=None \
+ -DCMAKE_CXX_FLAGS="${CXXFLAGS} -DNDEBUG" \
+ -DCMAKE_INSTALL_PREFIX=/usr \
+ -DCMAKE_CXX_STANDARD=17 \
+ -DCMAKE_POSITION_INDEPENDENT_CODE=ON
+}
+
+build() {
+ cd "$srcdir/$pkgname-$pkgver/build"
+ make
+}
+
+package() {
+ cd "$srcdir/$pkgname-$pkgver/build"
+ make DESTDIR="$pkgdir" install
+}
More information about the arch-commits
mailing list