summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorDimitris Kiziridis2020-05-19 16:14:30 +0300
committerDimitris Kiziridis2020-05-19 16:14:30 +0300
commit2500936e63682eb54f5f98386ee9c011f5ae7e4d (patch)
tree33aa2f1c230ffe6f98af05744904d42a6d4919c6
downloadaur-2500936e63682eb54f5f98386ee9c011f5ae7e4d.tar.gz
Initial commit
-rw-r--r--.SRCINFO17
-rw-r--r--PKGBUILD31
2 files changed, 48 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..4703a2aec97
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,17 @@
+pkgbase = clsync
+ pkgdesc = File live sync daemon based on inotify/kqueue/bsm (Linux, FreeBSD), written in GNU C
+ pkgver = 0.4.4
+ pkgrel = 1
+ url = http://ut.mephi.ru/oss/clsync
+ arch = x86_64
+ license = GPL3
+ makedepends = doxygen
+ makedepends = graphviz
+ makedepends = libcap
+ makedepends = libcgroup
+ makedepends = mhash
+ source = clsync-0.4.4.tar.gz::https://github.com/clsync/clsync/archive/v0.4.4.tar.gz
+ sha256sums = 8553b67b0bb902b5ff05a50195c5b0102a522b771f4ff8bec7495d9406514622
+
+pkgname = clsync
+
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