fswatch: use generic libatomic checks

This commit is contained in:
q66 2020-02-08 17:16:08 +01:00
parent aa1a906667
commit 94764a903b

View file

@ -12,12 +12,9 @@ homepage="https://emcrisostomo.github.io/fswatch/"
distfiles="https://github.com/emcrisostomo/fswatch/releases/download/${version}/fswatch-${version}.tar.gz"
checksum=44d5707adc0e46d901ba95a5dc35c5cc282bd6f331fcf9dbf9fad4af0ed5b29d
case "$XBPS_TARGET_MACHINE" in
armv[56]*|ppc|ppc-musl)
makedepends+=" libatomic-devel"
LDFLAGS=" -latomic"
;;
esac
if [ "$XBPS_TARGET_NO_ATOMIC8" ]; then
makedepends+=" libatomic-devel"
fi
post_install() {
rm -rf -- "${DESTDIR}/usr/share/doc"