[arch-commits] Commit in librsync/repos (2 files)

Evangelos Foutras foutrelis at archlinux.org
Sun Aug 18 16:41:54 UTC 2019


    Date: Sunday, August 18, 2019 @ 16:41:54
  Author: foutrelis
Revision: 500067

archrelease: copy trunk to community-testing-x86_64

Added:
  librsync/repos/community-testing-x86_64/
  librsync/repos/community-testing-x86_64/PKGBUILD
    (from rev 500066, librsync/trunk/PKGBUILD)

----------+
 PKGBUILD |   45 +++++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 45 insertions(+)

Copied: librsync/repos/community-testing-x86_64/PKGBUILD (from rev 500066, librsync/trunk/PKGBUILD)
===================================================================
--- community-testing-x86_64/PKGBUILD	                        (rev 0)
+++ community-testing-x86_64/PKGBUILD	2019-08-18 16:41:54 UTC (rev 500067)
@@ -0,0 +1,45 @@
+# Maintainer: Evangelos Foutras <evangelos at foutrelis.com>
+# Contributor: Alessio 'mOLOk' Bolognino <themolok at gmail.com>
+# Contributor: Christoph 'delmonico' Neuroth <delmonico at gmx.net>
+
+pkgname=librsync
+pkgver=2.1.0
+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=('f701d2bab3d7471dfea60d29e9251f8bb7567222957f7195af55142cb207c653')
+
+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:


More information about the arch-commits mailing list