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

Evangelos Foutras foutrelis at archlinux.org
Mon Nov 4 08:10:41 UTC 2019


    Date: Monday, November 4, 2019 @ 08:10:40
  Author: foutrelis
Revision: 523611

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: watchman/repos/community-staging-x86_64/PKGBUILD (from rev 523610, watchman/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD	                        (rev 0)
+++ community-staging-x86_64/PKGBUILD	2019-11-04 08:10:40 UTC (rev 523611)
@@ -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=3
+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-staging-x86_64/watchman.tmpfiles (from rev 523610, watchman/trunk/watchman.tmpfiles)
===================================================================
--- community-staging-x86_64/watchman.tmpfiles	                        (rev 0)
+++ community-staging-x86_64/watchman.tmpfiles	2019-11-04 08:10:40 UTC (rev 523611)
@@ -0,0 +1 @@
+d /run/watchman 0777 root root



More information about the arch-commits mailing list