30 lines
1.1 KiB
YAML
30 lines
1.1 KiB
YAML
name : dwatch
|
|
version : 0.0.10
|
|
release : 2
|
|
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/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
|