blob: 94071d967120c1ee9e3f682cdb5919c964a6daaa (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
|
# Maintainer: Mario Rodas <marsam@users.noreply.github.com>
pkgname=watchman-git
_gitname=watchman
pkgver=r982.2565188
pkgrel=1
pkgdesc='Watches files and records, or triggers actions, when they change.'
arch=('i686' 'x86_64')
url='https://facebook.github.io/watchman/'
license=('Apache')
depends=('pcre')
makedepends=('git')
conflicts=('watchman')
options=('!libtool' 'staticlibs')
provides=()
source=("${_gitname}::git+https://github.com/facebook/watchman.git")
sha256sums=('SKIP')
pkgver() {
cd "${srcdir}/${_gitname}"
printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}
build() {
cd "${srcdir}/${_gitname}"
./autogen.sh
./configure --prefix=/usr \
--with-pcre \
--without-python \
--enable-statedir="/var/lib/${_gitname}"
make
}
check() {
cd "${srcdir}/${_gitname}"
make check
}
package() {
cd "${srcdir}/${_gitname}"
make DESTDIR="${pkgdir}" install
}
# Local Variables:
# compile-command: "makepkg -sm && mksrcinfo"
# End:
|