dwatch/package.yml
Alexander aa06acd050
All checks were successful
Build / Build project (push) Successful in 1m53s
Скорректированы права на файлы
2025-11-16 07:49:26 +03:00

30 lines
1.1 KiB
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 -Dm00755 bin/dwatch -t ${installdir}/usr/bin
# Ссылка на сервис демона
ln -sf dwatch ${installdir}/usr/bin/dwatchd
install -Dm00644 $pkgfiles/config.template.json -t ${installdir}/etc/dwatchd
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