[arch-commits] Commit in watchman/repos (3 files)

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


    Date: Saturday, August 17, 2019 @ 20:49:58
  Author: jelle
Revision: 500037

archrelease: copy trunk to community-x86_64

Added:
  watchman/repos/community-x86_64/
  watchman/repos/community-x86_64/PKGBUILD
    (from rev 500036, watchman/trunk/PKGBUILD)
  watchman/repos/community-x86_64/watchman.tmpfiles
    (from rev 500036, watchman/trunk/watchman.tmpfiles)

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

Copied: watchman/repos/community-x86_64/PKGBUILD (from rev 500036, watchman/trunk/PKGBUILD)
===================================================================
--- community-x86_64/PKGBUILD	                        (rev 0)
+++ community-x86_64/PKGBUILD	2019-08-17 20:49:58 UTC (rev 500037)
@@ -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:

Copied: watchman/repos/community-x86_64/watchman.tmpfiles (from rev 500036, watchman/trunk/watchman.tmpfiles)
===================================================================
--- community-x86_64/watchman.tmpfiles	                        (rev 0)
+++ community-x86_64/watchman.tmpfiles	2019-08-17 20:49:58 UTC (rev 500037)
@@ -0,0 +1 @@
+d /run/watchman 0777 root root


More information about the arch-commits mailing list