dwatch/package.yml
Alexander 21e96bf3e8
Some checks failed
Build / Build project (push) Failing after 1m32s
0.0.13
2025-11-19 18:23:47 +03:00

30 lines
1.1 KiB
YAML

name : dwatch
version : 0.0.13
release : 5
source :
- git|https://git.zhirov.kz/dwatch/dwatch.git : 7cb52ae72850f181c81cd9d072fe417b6d0572bb
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