void-packages/srcpkgs/fswatch/template

26 lines
734 B
Bash
Raw Normal View History

2017-12-04 22:52:53 +01:00
# Template file for 'fswatch'
pkgname=fswatch
version=1.11.2
revision=1
build_style=gnu-configure
short_desc="A cross-platform file change monitor with multiple backends"
maintainer="maxice8 <thinkabit.ukim@gmail.com>"
license="GPL-3"
homepage="https://emcrisostomo.github.io/fswatch/"
distfiles="https://github.com/emcrisostomo/fswatch/releases/download/${version}/fswatch-${version}.tar.gz"
checksum=b7dadb84848ce666aac0311f9b4c739fbfee6a90c6097807a1f45ad4367294c2
case "$XBPS_TARGET_MACHINE" in
armv6l-musl) LDFLAGS=" -latomic" ;;
esac
fswatch-devel_package() {
depends="fswatch>=${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove "usr/lib/*.a"
vmove "usr/lib/*.so"
vmove usr/include
}
}