[arch-commits] Commit in protobuf-c/repos (6 files)
Jelle van der Waa
jelle at archlinux.org
Fri Feb 10 21:37:23 UTC 2017
Date: Friday, February 10, 2017 @ 21:37:22
Author: jelle
Revision: 288563
db-move: moved protobuf-c from [staging] to [testing] (i686, x86_64)
Added:
protobuf-c/repos/testing-i686/
protobuf-c/repos/testing-i686/PKGBUILD
(from rev 288562, protobuf-c/repos/staging-i686/PKGBUILD)
protobuf-c/repos/testing-x86_64/
protobuf-c/repos/testing-x86_64/PKGBUILD
(from rev 288562, protobuf-c/repos/staging-x86_64/PKGBUILD)
Deleted:
protobuf-c/repos/staging-i686/
protobuf-c/repos/staging-x86_64/
-------------------------+
testing-i686/PKGBUILD | 31 +++++++++++++++++++++++++++++++
testing-x86_64/PKGBUILD | 31 +++++++++++++++++++++++++++++++
2 files changed, 62 insertions(+)
Copied: protobuf-c/repos/testing-i686/PKGBUILD (from rev 288562, protobuf-c/repos/staging-i686/PKGBUILD)
===================================================================
--- testing-i686/PKGBUILD (rev 0)
+++ testing-i686/PKGBUILD 2017-02-10 21:37:22 UTC (rev 288563)
@@ -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.2.1
+pkgrel=5
+pkgdesc='Protocol Buffers implementation in C'
+arch=('i686' '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")
+md5sums=('e544249c329391fff512c3874895cfbe')
+
+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"
+}
Copied: protobuf-c/repos/testing-x86_64/PKGBUILD (from rev 288562, protobuf-c/repos/staging-x86_64/PKGBUILD)
===================================================================
--- testing-x86_64/PKGBUILD (rev 0)
+++ testing-x86_64/PKGBUILD 2017-02-10 21:37:22 UTC (rev 288563)
@@ -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.2.1
+pkgrel=5
+pkgdesc='Protocol Buffers implementation in C'
+arch=('i686' '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")
+md5sums=('e544249c329391fff512c3874895cfbe')
+
+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