39 lines
1.0 KiB
Bash
39 lines
1.0 KiB
Bash
# 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
|
|
|
|
if [ "$XBPS_TARGET_NO_ATOMIC8" ]; then
|
|
export LIBS=-latomic
|
|
fi
|
|
|
|
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
|
|
}
|
|
}
|