[arch-commits] Commit in msgpack-c/repos (2 files)
Baptiste Jonglez
zorun at archlinux.org
Sat May 12 00:52:54 UTC 2018
Date: Saturday, May 12, 2018 @ 00:52:53
Author: zorun
Revision: 320918
archrelease: copy trunk to community-staging-x86_64
Added:
msgpack-c/repos/community-staging-x86_64/
msgpack-c/repos/community-staging-x86_64/PKGBUILD
(from rev 320917, msgpack-c/trunk/PKGBUILD)
----------+
PKGBUILD | 36 ++++++++++++++++++++++++++++++++++++
1 file changed, 36 insertions(+)
Copied: msgpack-c/repos/community-staging-x86_64/PKGBUILD (from rev 320917, msgpack-c/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD (rev 0)
+++ community-staging-x86_64/PKGBUILD 2018-05-12 00:52:53 UTC (rev 320918)
@@ -0,0 +1,36 @@
+# Maintainer: Baptiste Jonglez
+# Contributor: Leen Jewel <leenjewel at gmail.com>
+# Contributor: Auguste Pop <auguste [at] gmail [dot] com>
+
+pkgname=msgpack-c
+pkgver=3.0.0
+pkgrel=1
+pkgdesc='An efficient object serialization library'
+arch=("x86_64")
+url='http://msgpack.org/'
+license=("Apache")
+depends=("glibc")
+checkdepends=("gtest")
+makedepends=("cmake")
+source=("https://github.com/msgpack/msgpack-c/releases/download/cpp-${pkgver}/msgpack-${pkgver}.tar.gz")
+sha256sums=('bfbb71b7c02f806393bc3cbc491b40523b89e64f83860c58e3e54af47de176e4')
+
+build() {
+ cd "msgpack-${pkgver}"
+ cmake -DCMAKE_INSTALL_PREFIX=/usr \
+ -DCMAKE_BUILD_TYPE=None \
+ -DMSGPACK_CXX11=ON \
+ -DMSGPACK_BUILD_EXAMPLES=OFF \
+ .
+ make
+}
+
+check() {
+ cd "msgpack-${pkgver}"
+ make test
+}
+
+package() {
+ cd "msgpack-${pkgver}"
+ make DESTDIR="$pkgdir" install
+}
More information about the arch-commits
mailing list