[arch-commits] Commit in librabbitmq-c/repos/community-x86_64 (PKGBUILD PKGBUILD)
Levente Polyak
anthraxx at archlinux.org
Sun Jun 13 19:17:34 UTC 2021
Date: Sunday, June 13, 2021 @ 19:17:34
Author: anthraxx
Revision: 963304
archrelease: copy trunk to community-x86_64
Added:
librabbitmq-c/repos/community-x86_64/PKGBUILD
(from rev 963303, librabbitmq-c/trunk/PKGBUILD)
Deleted:
librabbitmq-c/repos/community-x86_64/PKGBUILD
----------+
PKGBUILD | 76 ++++++++++++++++++++++++++++++++-----------------------------
1 file changed, 41 insertions(+), 35 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2021-06-13 19:17:30 UTC (rev 963303)
+++ PKGBUILD 2021-06-13 19:17:34 UTC (rev 963304)
@@ -1,35 +0,0 @@
-# Maintainer:
-# Contributor: travisghansen <travisghansen at yahoo.com>
-# Contributor: aleiphoenix <aleiphoenix at gmail.com>
-
-pkgname=librabbitmq-c
-pkgver=0.10.0
-pkgrel=1
-pkgdesc="A RabbitMQ(amqp) library written in C-language"
-arch=('x86_64')
-license=('MIT')
-depends=('popt' 'openssl')
-makedepends=('cmake' 'docbook-xsl' 'doxygen' 'xmlto')
-url="https://github.com/alanxz/rabbitmq-c"
-source=("$pkgname-$pkgver.zip::https://github.com/alanxz/rabbitmq-c/archive/v$pkgver.zip")
-sha512sums=('8fd08564accb92524f4e5e87eec4fb9db94902b7854fc1cbf2413bedf85c6b8e5d8a7104a79dd34dd501f438f22de6fbef3c763a76c27ef734d9d6cb4f1d5d43')
-
-build() {
- cd ${pkgname:3}-$pkgver
- cmake . \
- -DCMAKE_INSTALL_PREFIX=/usr \
- -DCMAKE_INSTALL_LIBDIR=lib \
- -DBUILD_EXAMPLES=OFF \
- -DBUILD_TOOLS=ON \
- -DBUILD_TOOLS_DOCS=ON \
- -DBUILD_TESTS=OFF \
- -DENABLE_SSL_SUPPORT=ON \
- -DBUILD_API_DOCS=ON
- make
-}
-
-package() {
- cd ${pkgname:3}-$pkgver
- make DESTDIR="$pkgdir" install
- install -Dm644 LICENSE-MIT "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
-}
Copied: librabbitmq-c/repos/community-x86_64/PKGBUILD (from rev 963303, librabbitmq-c/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2021-06-13 19:17:34 UTC (rev 963304)
@@ -0,0 +1,41 @@
+# Maintainer: Levente Polyak <anthraxx[at]archlinux[dot]org>
+# Contributor: travisghansen <travisghansen at yahoo.com>
+# Contributor: aleiphoenix <aleiphoenix at gmail.com>
+
+pkgname=librabbitmq-c
+pkgver=0.11.0
+pkgrel=1
+pkgdesc='RabbitMQ(amqp) library written in C-language'
+url='https://github.com/alanxz/rabbitmq-c'
+arch=('x86_64')
+license=('MIT')
+depends=('popt' 'openssl')
+makedepends=('cmake' 'docbook-xsl' 'doxygen' 'xmlto' 'ninja')
+source=("${url}/archive/v${pkgver}/${pkgname}-${pkgver}.tar.gz")
+sha512sums=('0c3dbb6e2b862e9f25e3f76df798ea272bbd81de2865950b95adf1f1e5791eb20d7c9d5a76cb7d2fda54bad5f12bdf69cbfa7e9fd1afdede6f9ec729ca2287de')
+b2sums=('dce862d132d4bca010dbc284957f34a35d55407ea0eb4fb79369f699207c01cc7ed64c1bd58bea2d1178bd2c02176c3e93b66177fc975175b1da9ab9baaf661f')
+
+build() {
+ cd ${pkgname:3}-$pkgver
+ cmake \
+ -B build \
+ -G Ninja \
+ -DCMAKE_INSTALL_PREFIX=/usr \
+ -DCMAKE_INSTALL_LIBDIR=lib \
+ -DBUILD_EXAMPLES=OFF \
+ -DBUILD_TOOLS=ON \
+ -DBUILD_TOOLS_DOCS=ON \
+ -DBUILD_TESTS=OFF \
+ -DENABLE_SSL_SUPPORT=ON \
+ -DBUILD_API_DOCS=ON \
+ -Wno-dev
+ ninja -C build -v
+}
+
+package() {
+ cd ${pkgname:3}-$pkgver
+ DESTDIR="${pkgdir}" ninja -C build install
+ install -Dm 644 LICENSE-MIT -t "${pkgdir}"/usr/share/licenses/${pkgname}
+}
+
+# vim: ts=2 sw=2 et:
More information about the arch-commits
mailing list