dwatch/package.yml
Alexander b56358790d
All checks were successful
Build / Build project (push) Successful in 1m16s
Обновление до 0.0.11
2025-11-16 12:14:40 +03:00

30 lines
1.1 KiB
YAML

name : dwatch
version : 0.0.11
release : 4
source :
- git|https://git.zhirov.kz/dwatch/dwatch.git : 4b18136acf3e5be869c02a5cf22021ecd654bc04
homepage : https://git.zhirov.kz/dwatch/dwatch
license : BSL-1.0
component : system.utils
summary : Monitoring changes in text files.
description: |
Monitoring changes in text files.
networking : yes
builddeps :
- ldc
- dub
- pkgconfig(xdiff)
- pkgconfig(wildmatch)
- pkgconfig(sqlite3)
setup : |
%apply_patches
build : |
dub build --build=release
install : |
install -Dm00755 bin/dwatch -t ${installdir}/usr/bin
# Ссылка на сервис демона
ln -sf dwatch ${installdir}/usr/bin/dwatchd
install -Dm00644 $pkgfiles/config.template.json -t ${installdir}/etc/dwatch
install -Dm00644 $pkgfiles/dwatchd.service -t ${installdir}/usr/lib/systemd/system
install -Dm00644 $pkgfiles/dwatch.tmpfiles $installdir/%libdir%/tmpfiles.d/dwatch.conf
install -Dm00644 files/dwatch -t $installdir/usr/share/bash-completion/completions