[arch-commits] Commit in protobuf-c/repos (community-x86_64 community-x86_64/PKGBUILD)
Antonio Rojas
arojas at gemini.archlinux.org
Mon Jul 18 20:46:31 UTC 2022
Date: Monday, July 18, 2022 @ 20:46:31
Author: arojas
Revision: 451462
archrelease: copy trunk to community-x86_64
Added:
protobuf-c/repos/community-x86_64/
protobuf-c/repos/community-x86_64/PKGBUILD
(from rev 451461, protobuf-c/trunk/PKGBUILD)
----------+
PKGBUILD | 32 ++++++++++++++++++++++++++++++++
1 file changed, 32 insertions(+)
Copied: protobuf-c/repos/community-x86_64/PKGBUILD (from rev 451461, protobuf-c/trunk/PKGBUILD)
===================================================================
--- community-x86_64/PKGBUILD (rev 0)
+++ community-x86_64/PKGBUILD 2022-07-18 20:46:31 UTC (rev 451462)
@@ -0,0 +1,32 @@
+# Maintainer: Lukas Fleischer <lfleischer at archlinux.org>
+# Contributor: Bartłomiej Piotrowski <bpiotrowski at archlinux.org>
+# Contributor: Aurélien Wailly <aurelien.wailly at gmail.com>
+
+pkgname=protobuf-c
+pkgver=1.4.1
+pkgrel=1
+pkgdesc='Protocol Buffers implementation in C'
+arch=('x86_64')
+url='https://github.com/protobuf-c/protobuf-c'
+license=('BSD')
+depends=('protobuf')
+provides=('libprotobuf-c.so')
+options=('!lto') # https://github.com/protobuf-c/protobuf-c/issues/488
+source=("$url/releases/download/v$pkgver/$pkgname-$pkgver.tar.gz")
+sha256sums=('4cc4facd508172f3e0a4d3a8736225d472418aee35b4ad053384b137b220339f')
+
+build() {
+ cd "$pkgname-$pkgver"
+ ./configure --prefix=/usr --disable-static
+ make
+}
+
+check() {
+ make -C "$pkgname-$pkgver" check
+}
+
+package() {
+ cd "$pkgname-$pkgver"
+ make DESTDIR="$pkgdir" install
+ install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+}
More information about the arch-commits
mailing list