summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: f5c2e663d8366600dbec7016f33e2ad96510bc3f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
# Maintainer: Dimitris Kiziridis <ragouel at outlook dot com>

pkgname=clsync
pkgver=0.4.4
pkgrel=1
pkgdesc="File live sync daemon based on inotify/kqueue/bsm (Linux, FreeBSD), written in GNU C"
arch=('x86_64')
url='http://ut.mephi.ru/oss/clsync'
license=('GPL3')
makedepends=('doxygen'
						 'graphviz'
						 'libcap'
				 		 'libcgroup'
				     'mhash')
source=("${pkgname}-${pkgver}.tar.gz::https://github.com/clsync/clsync/archive/v${pkgver}.tar.gz")
sha256sums=('8553b67b0bb902b5ff05a50195c5b0102a522b771f4ff8bec7495d9406514622')

build() {
	cd "${pkgname}-${pkgver}"
	autoreconf -i
	./configure --prefix=/usr \
							--with-libcgroup=yes \
							--with-inotify=yes \
							--with-mhash=yes 
	make -j$(nproc)
}

package() {
  cd "${pkgname}-${pkgver}"
  make DESTDIR="$pkgdir" install
}