diff options
| author | Thibaut Horel <thibaut.horel@gmail.com> | 2014-08-16 00:02:30 -0400 |
|---|---|---|
| committer | Thibaut Horel <thibaut.horel@gmail.com> | 2014-08-16 00:02:30 -0400 |
| commit | b3940a256e1a689c93d5df4b02de2da78582eb05 (patch) | |
| tree | 0820eee91c4251fac18d9a1e71095c6bddf8d315 /watchman-git/PKGBUILD | |
| parent | fca115fc00f495a78b39811c6a3b54f48bd3d022 (diff) | |
| download | archlinux-b3940a256e1a689c93d5df4b02de2da78582eb05.tar.gz | |
Diffstat (limited to 'watchman-git/PKGBUILD')
| -rw-r--r-- | watchman-git/PKGBUILD | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/watchman-git/PKGBUILD b/watchman-git/PKGBUILD new file mode 100644 index 0000000..c64f359 --- /dev/null +++ b/watchman-git/PKGBUILD @@ -0,0 +1,32 @@ +# Maintainer: Thibaut Horel <thibaut dot horel at gmail dot com> +pkgname=watchman-git +pkgver=2.9.8.r32.g20dbfd4 +pkgrel=1 +pkgdesc='watches files and takes action when they change' +arch=(i686 x86_64) +url=https://facebook.github.io/watchman/ +license=('Apache') +depends=(pcre) +makedepends=(git python) +optdepends=('python: python bindings') +provides=('watchman') +conflicts=('watchman') +source=('watchman-git::git+https://github.com/facebook/watchman.git') +md5sums=('SKIP') + +pkgver() { + cd "$srcdir/$pkgname" + git describe --long | sed -r 's/^v//;s/([^-]*-g)/r\1/;s/-/./g' +} + +build() { + cd "$srcdir/$pkgname" + ./autogen.sh + ./configure --prefix=/usr --with-python + make +} + +package() { + cd "$srcdir/$pkgname" + make DESTDIR="$pkgdir/" install +} |
