summaryrefslogtreecommitdiff
path: root/user/inotify-tools/APKBUILD
blob: 86545ea2840094a9a5c5536672fc504de9b071f3 (plain) (blame)
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
# Contributor: Leonardo Arena <rnalrd@alpinelinux.org>
# Maintainer: Zach van Rijn <me@zv.io>
pkgname=inotify-tools
pkgver=4.23.9.0
pkgrel=0
pkgdesc="C library and a command-line programs to interface with inotify"
url="https://github.com/inotify-tools/inotify-tools"
arch="all"
license="GPL-2.0-only"
makedepends="automake autoconf libtool"
subpackages="$pkgname-dev $pkgname-libs $pkgname-doc"
source="$pkgname-$pkgver.tar.gz::https://github.com/inotify-tools/inotify-tools/archive/$pkgver.tar.gz"

prepare() {
	default_prepare
	autoreconf -fiv
}

build() {
	./configure \
		--prefix=/usr \
		--sysconfdir=/etc \
		--mandir=/usr/share/man \
		--infodir=/usr/share/info
	make
}

check() {
	make check
}

package() {
	make DESTDIR="$pkgdir" install
}

sha512sums="8f44037a482fa39978b845b4989834e8c897ad872913c6cb8c4a987e0d13f9177b05f593332b859d7adde228fdc3512fd45d66cab65368c38926f41d57e22d13  inotify-tools-4.23.9.0.tar.gz"