fix: add tmpfiles.d to create /var/lib/doh-forwarder

This commit is contained in:
2026-07-06 22:38:58 +03:30
parent 432eb59198
commit b9542793ee
36 changed files with 945 additions and 0 deletions

View File

@@ -12,8 +12,10 @@ backup=('etc/doh-forwarder/config.toml')
source=("$pkgname::git+https://git.logicamp.dev/mohamad/doh-forwarder.git#tag=v${pkgver}"
'doh-forwarder.service'
'doh-forwarder.sysusers'
'doh-forwarder.tmpfiles'
'doh-forwarder.conf')
sha256sums=('SKIP'
'SKIP'
'SKIP'
'SKIP'
'SKIP')
@@ -40,6 +42,7 @@ package() {
# Systemd
install -Dm644 "$srcdir/doh-forwarder.service" "$pkgdir/usr/lib/systemd/system/doh-forwarder.service"
install -Dm644 "$srcdir/doh-forwarder.sysusers" "$pkgdir/usr/lib/sysusers.d/doh-forwarder.conf"
install -Dm644 "$srcdir/doh-forwarder.tmpfiles" "$pkgdir/usr/lib/tmpfiles.d/doh-forwarder.conf"
# License
install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"