Use XDG gen for root

This commit is contained in:
Alex D. 2024-01-10 13:30:16 +00:00
parent b5362e182f
commit 108b2892fe
Signed by: caskd
GPG Key ID: F92BA85F61F4C173

View File

@ -1,8 +1,8 @@
# Contributor: Alex Denes <caskd@redxen.eu>
# Maintainer: Alex Denes <caskd@redxen.eu>
pkgname=nnd-s6-linux-init
pkgver=1.5
pkgrel=4
pkgver=1.6.1
pkgrel=0
pkgdesc="Skeleton for nnd-s6-services and symlinks"
url="none"
arch="noarch"
@ -21,7 +21,15 @@ prepare() {
}
build() {
s6-linux-init-maker -1 -f "nnd-skel" "current"
s6-linux-init-maker -1 \
-e HOME=/root \
-e XDG_RUNTIME_DIR=/run \
-e XDG_CONFIG_HOME=/etc \
-e XDG_STATE_HOME=/var/lib \
-e XDG_CACHE_HOME=/var/cache \
-e XDG_DATA_HOME=/usr/share \
-f "nnd-skel" \
"current"
}
package() {