Date: Tuesday, October 9, 2018 @ 17:32:51 Author: felixonmars Revision: 391684
archrelease: copy trunk to community-staging-x86_64 Added: wiredtiger/repos/community-staging-x86_64/ wiredtiger/repos/community-staging-x86_64/PKGBUILD (from rev 391683, wiredtiger/trunk/PKGBUILD) ----------+ PKGBUILD | 41 +++++++++++++++++++++++++++++++++++++++++ 1 file changed, 41 insertions(+) Copied: wiredtiger/repos/community-staging-x86_64/PKGBUILD (from rev 391683, wiredtiger/trunk/PKGBUILD) =================================================================== --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2018-10-09 17:32:51 UTC (rev 391684) @@ -0,0 +1,41 @@ +# Maintainer: Felix Yan <felixonm...@archlinux.org> +# Contributor: Stefan Husmann <stefan-husm...@t-online.de> + +pkgname=wiredtiger +pkgver=3.1.0.20180920 +_commit=f7763ad374e3537ae0f589f1a17533f6262f12b2 +pkgrel=1 +pkgdesc="High performance, scalable, production quality, NoSQL, Open Source extensible platform for data management" +arch=('x86_64') +url="http://source.wiredtiger.com/" +license=('GPL') +depends=('snappy' 'lz4' 'zlib' 'gperftools') +source=("$pkgname-$_commit.tar.gz::https://github.com/wiredtiger/wiredtiger/archive/$_commit.tar.gz") +sha512sums=('466cbc01b6f6f3252b5926d1cd9634ab319da972da06a7924c4cd724d37e13983c42e3fd91a61d5d03e17cc6ff097a31be73a2239b54eaf76ef5ff655dd83889') + +prepare() { + mv wiredtiger-{$_commit,$pkgver} +} + +build() { + cd wiredtiger-$pkgver + + ./autogen.sh + ./configure --prefix=/usr \ + --enable-leveldb \ + --enable-lz4 \ + --enable-tcmalloc \ + --enable-verbose \ + --with-builtins=snappy,zlib + make +} + +check() { + cd wiredtiger-$pkgver + make test +} + +package() { + cd wiredtiger-$pkgver + make DESTDIR="$pkgdir" install +}