dwatch/package.yml
Alexander 0fe16466fc
All checks were successful
Build / Build project (push) Successful in 1m34s
init 0.0.10
2025-11-16 07:39:01 +03:00

29 lines
984 B
YAML

name : dwatch
version : 0.0.10
release : 1
source :
- git|https://git.zhirov.kz/dwatch/dwatch.git : 35319d42c4bf81583f6978a857b8b0fc41ceb11f
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 -Dm755 bin/dwatch -t ${installdir}/usr/bin
# Ссылка на сервис демона
ln -sf dwatch ${installdir}/usr/bin/dwatchd
install -Dm644 $pkgfiles/config.template.json -t ${installdir}/etc/dwatchd
install -Dm644 $pkgfiles/dwatchd.service -t ${installdir}/usr/lib/systemd/system
install -Dm00644 $pkgfiles/dwatch.tmpfiles $installdir/%libdir%/tmpfiles.d/dwatch.conf