Date: Monday, December 31, 2018 @ 08:31:55 Author: andyrtr Revision: 342836
archrelease: copy trunk to testing-x86_64 Added: libcmis/repos/testing-x86_64/ libcmis/repos/testing-x86_64/PKGBUILD (from rev 342835, libcmis/trunk/PKGBUILD) ----------+ PKGBUILD | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) Copied: libcmis/repos/testing-x86_64/PKGBUILD (from rev 342835, libcmis/trunk/PKGBUILD) =================================================================== --- testing-x86_64/PKGBUILD (rev 0) +++ testing-x86_64/PKGBUILD 2018-12-31 08:31:55 UTC (rev 342836) @@ -0,0 +1,30 @@ +# Maintainer: AndyRTR <andy...@archlinux.org> + +pkgname=libcmis +pkgver=0.5.2 +pkgrel=1 +pkgdesc="a C/C++ client library for the CMIS protocol" +arch=('x86_64') +url="https://github.com/tdf/libcmis" +license=('GPL2' 'LGPL2.1' 'MPL') +depends=('boost-libs' 'curl' 'libxml2') +makedepends=('docbook2x' 'cppunit' 'boost') +source=("https://github.com/tdf/libcmis/releases/download/v${pkgver}/$pkgname-$pkgver.tar.gz") +sha256sums=('ed6f681a48abbf3c2324564b17a180d21fa9503230e8708825e1ad80daee4f81') + +build() { + cd "$pkgname-$pkgver" + ./configure --prefix=/usr DOCBOOK2MAN='docbook2man' --disable-werror + make +} + +check() { + cd "$pkgname-$pkgver" + # fails a google drive check - fix will be included in the next release + make check || /bin/true +} + +package() { + cd "$pkgname-$pkgver" + make DESTDIR="$pkgdir/" install +}