summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD31
1 files changed, 31 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..f5c2e663d83
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,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
+} \ No newline at end of file