[arch-commits] Commit in protobuf-c/repos (staging-x86_64 staging-x86_64/PKGBUILD)

Felix Yan felixonmars at archlinux.org
Sat Mar 13 22:40:34 UTC 2021


    Date: Saturday, March 13, 2021 @ 22:40:34
  Author: felixonmars
Revision: 409824

archrelease: copy trunk to staging-x86_64

Added:
  protobuf-c/repos/staging-x86_64/
  protobuf-c/repos/staging-x86_64/PKGBUILD
    (from rev 409823, protobuf-c/trunk/PKGBUILD)

----------+
 PKGBUILD |   31 +++++++++++++++++++++++++++++++
 1 file changed, 31 insertions(+)

Copied: protobuf-c/repos/staging-x86_64/PKGBUILD (from rev 409823, protobuf-c/trunk/PKGBUILD)
===================================================================
--- staging-x86_64/PKGBUILD	                        (rev 0)
+++ staging-x86_64/PKGBUILD	2021-03-13 22:40:34 UTC (rev 409824)
@@ -0,0 +1,31 @@
+# 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.3.3
+pkgrel=3
+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')
+source=("$url/releases/download/v$pkgver/$pkgname-$pkgver.tar.gz")
+sha256sums=('22956606ef50c60de1fabc13a78fbc50830a0447d780467d3c519f84ad527e78')
+
+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