[arch-commits] Commit in (5 files)

Jelle van der Waa jelle at archlinux.org
Sat Aug 17 20:18:29 UTC 2019


    Date: Saturday, August 17, 2019 @ 20:18:28
  Author: jelle
Revision: 500033

add watchman, optional dependency of django

Added:
  watchman/
  watchman/repos/
  watchman/trunk/
  watchman/trunk/PKGBUILD
  watchman/trunk/watchman.tmpfiles

-------------------+
 PKGBUILD          |   43 +++++++++++++++++++++++++++++++++++++++++++
 watchman.tmpfiles |    1 +
 2 files changed, 44 insertions(+)

Added: watchman/trunk/PKGBUILD
===================================================================
--- watchman/trunk/PKGBUILD	                        (rev 0)
+++ watchman/trunk/PKGBUILD	2019-08-17 20:18:28 UTC (rev 500033)
@@ -0,0 +1,43 @@
+# Maintainer: Jean Lucas <jean at 4ray.co>
+# Contributor: José Luis Lafuente <jl at lafuente.me>
+# Contributor: Michael Louis Thaler <michael.louis.thaler at gmail.com>
+
+pkgname=watchman
+pkgver=4.9.0
+pkgrel=2
+pkgdesc="An inotify-based file watching and job triggering command line utility"
+url="https://facebook.github.io/watchman/"
+arch=('i686' 'x86_64')
+license=('Apache')
+depends=('pcre' 'systemd' 'python')
+source=("$pkgname-$pkgver.tar.gz::https://github.com/facebook/watchman/archive/v$pkgver.tar.gz"
+        "$pkgname.tmpfiles")
+sha256sums=('1f6402dc70b1d056fffc3748f2fdcecff730d8843bb6936de395b3443ce05322'
+            '2b061865e10578a0477b9c7991a00594bc839c846b98896e93c75743dbf6a379')
+
+prepare() {
+  cd $pkgname-$pkgver
+  ./autogen.sh
+}
+
+build() {
+  cd $pkgname-$pkgver
+  ./configure --prefix=/usr --disable-statedir --enable-lenient
+  make
+}
+
+check() {
+  cd $pkgname-$pkgver
+  # TODO: fix segfault in test
+  #make check
+}
+
+package() {
+  cd $pkgname-$pkgver
+  # Docs available online only; see https://github.com/facebook/watchman/issues/30
+  make DESTDIR=$pkgdir install
+
+  install -Dm 644 $srcdir/$pkgname.tmpfiles $pkgdir/usr/lib/tmpfiles.d/$pkgname.conf
+}
+
+# vim:set ts=2 sw=2 et:

Added: watchman/trunk/watchman.tmpfiles
===================================================================
--- watchman/trunk/watchman.tmpfiles	                        (rev 0)
+++ watchman/trunk/watchman.tmpfiles	2019-08-17 20:18:28 UTC (rev 500033)
@@ -0,0 +1 @@
+d /run/watchman 0777 root root


More information about the arch-commits mailing list