Date: Monday, March 5, 2018 @ 13:18:25 Author: foutrelis Revision: 302674
archrelease: copy trunk to community-testing-x86_64 Added: librsync/repos/community-testing-x86_64/ librsync/repos/community-testing-x86_64/PKGBUILD (from rev 302673, librsync/trunk/PKGBUILD) ----------+ PKGBUILD | 46 ++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 46 insertions(+) Copied: librsync/repos/community-testing-x86_64/PKGBUILD (from rev 302673, librsync/trunk/PKGBUILD) =================================================================== --- community-testing-x86_64/PKGBUILD (rev 0) +++ community-testing-x86_64/PKGBUILD 2018-03-05 13:18:25 UTC (rev 302674) @@ -0,0 +1,46 @@ +# $Id$ +# Maintainer: Evangelos Foutras <evange...@foutrelis.com> +# Contributor: Alessio 'mOLOk' Bolognino <themo...@gmail.com> +# Contributor: Christoph 'delmonico' Neuroth <delmon...@gmx.net> + +pkgname=librsync +pkgver=2.0.2 +pkgrel=1 +epoch=1 +pkgdesc="Library for calculating and applying network deltas" +arch=('x86_64') +url="http://librsync.sourcefrog.net/" +license=('LGPL') +depends=('popt') +makedepends=('cmake') +provides=('librsync.so') +source=($pkgname-$pkgver.tar.gz::https://github.com/$pkgname/$pkgname/archive/v$pkgver.tar.gz) +sha256sums=('e67b9520ee84f7239be6e948795803bd95495091cc00bf6d0e8c6976032a4af1') + +prepare() { + cd "$srcdir/$pkgname-$pkgver" + mkdir build +} + +build() { + cd "$srcdir/$pkgname-$pkgver/build" + + cmake \ + -DCMAKE_BUILD_TYPE=Release \ + -DCMAKE_INSTALL_PREFIX=/usr \ + -DCMAKE_INSTALL_LIBDIR=lib \ + .. + make +} + +check() { + cd "$srcdir/$pkgname-$pkgver/build" + make check +} + +package() { + cd "$srcdir/$pkgname-$pkgver/build" + make DESTDIR="$pkgdir" install +} + +# vim:set ts=2 sw=2 et: