Date: Wednesday, October 23, 2019 @ 18:30:03
  Author: jelle
Revision: 365409

db-move: moved protobuf-c from [staging] to [testing] (x86_64)

Added:
  protobuf-c/repos/testing-x86_64/
  protobuf-c/repos/testing-x86_64/PKGBUILD
    (from rev 365408, protobuf-c/repos/staging-x86_64/PKGBUILD)
Deleted:
  protobuf-c/repos/staging-x86_64/

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

Copied: protobuf-c/repos/testing-x86_64/PKGBUILD (from rev 365408, 
protobuf-c/repos/staging-x86_64/PKGBUILD)
===================================================================
--- testing-x86_64/PKGBUILD                             (rev 0)
+++ testing-x86_64/PKGBUILD     2019-10-23 18:30:03 UTC (rev 365409)
@@ -0,0 +1,31 @@
+# Maintainer: Lukas Fleischer <lfleisc...@archlinux.org>
+# Contributor: Bartłomiej Piotrowski <bpiotrow...@archlinux.org>
+# Contributor: Aurélien Wailly <aurelien.wai...@gmail.com>
+
+pkgname=protobuf-c
+pkgver=1.3.2
+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')
+source=("$url/releases/download/v$pkgver/$pkgname-$pkgver.tar.gz")
+sha256sums=('53f251f14c597bdb087aecf0b63630f434d73f5a10fc1ac545073597535b9e74')
+
+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"
+}

Reply via email to