aboutsummaryrefslogtreecommitdiffstats
path: root/testing/watchman/APKBUILD
blob: c1024cdd8534030f87e36ae7958f3cb639d722b3 (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
# Maintainer: André Klitzing <aklitzing@gmail.com>
pkgname=watchman
pkgver=4.9.0
pkgrel=1
pkgdesc="A file watching service"
url="https://facebook.github.io/watchman/"
arch="all !s390x"
license="Apache-2.0"
makedepends="pcre-dev autoconf automake linux-headers libtool libressl-dev python3-dev"
source="$pkgname-$pkgver.tar.gz::https://github.com/facebook/watchman/archive/v$pkgver.tar.gz
	e77eb9597c4c094a0b0bbeef0b957b49b40b87eb.patch
	"
builddir="$srcdir/"$pkgname-$pkgver

build() {
	cd "$builddir"
	./autogen.sh
	./configure --prefix= --exec-prefix=/usr
	make
}

check() {
	cd "$builddir"
	make check
}

package() {
	cd "$builddir"
	make DESTDIR=$pkgdir install-binPROGRAMS
}

sha512sums="f25b77f73bca3e25a0254a98af5c8125b8a31133ec3702cac656459f3522d5f0bf2e96d5893ca9fb5ce3ae18adce58224746bd8ca9afc5c312bcd697cb5b2d5d  watchman-4.9.0.tar.gz
6bb0bb780c6f4067e74dcdeafdef3063ac8e1885e7e9529594e83261107975b152b4fde2693d026c275a7dc7b7dc08e209dd772aeea186678933dbbec5a8f1fe  e77eb9597c4c094a0b0bbeef0b957b49b40b87eb.patch"