-
Notifications
You must be signed in to change notification settings - Fork 2.1k
/
template
34 lines (31 loc) · 964 Bytes
/
template
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
# Template file for 'fswatch'
pkgname=fswatch
version=1.17.1
revision=1
build_style=gnu-configure
configure_args="--disable-static"
hostmakedepends="doxygen"
short_desc="Cross-platform file change monitor with multiple backends"
maintainer="Orphaned <orphan@voidlinux.org>"
license="GPL-3.0-or-later"
homepage="https://emcrisostomo.github.io/fswatch/"
changelog="https://github.com/emcrisostomo/fswatch/raw/master/NEWS"
distfiles="https://github.com/emcrisostomo/fswatch/releases/download/${version}/fswatch-${version}.tar.gz"
checksum=c38e341c567f5f16bfa64b72fc48bba5e93873d8572522e670e6f320bbc2122f
post_install() {
rm -vr -- "${DESTDIR}/usr/share/doc"
}
libfswatch_package() {
short_desc+=" - fswatch library"
pkg_install() {
vmove "usr/lib/libfswatch.so.*"
}
}
libfswatch-devel_package() {
depends="libfswatch-${version}_${revision}"
short_desc+=" - fswatch development files"
pkg_install() {
vmove usr/lib/libfswatch.so
vmove usr/include
}
}