Hi all,
I think this package/pkgbuild needs some modifications since Artix has no systemd
I changed for me at line 48 from :
make DESTDIR="$pkgdir" NAME=ly-dm install installsystemd
to
make DESTDIR="$pkgdir" NAME=ly-dm install installrunit
and from :
sed -i "s;/usr/bin/ly;/usr/bin/ly-dm;g" "$pkgdir/usr/lib/systemd/system/ly.service"
to :
sed -i "s;/usr/bin/ly;/usr/bin/ly-dm;g" "$pkgdir/etc/sv/ly/run"
# make the right directory for Artix runit and move files there
mkdir -p "$pkgdir/etc/runit/sv/ly"
mv -t "$pkgdir/etc/runit/sv/" "$pkgdir/etc/sv/ly"
because i use Runit.
I`m no expert for packaging so maybe there is a way to detect the right init and choose the right installcommands but this worked for me on runit.
Maybe the name needs some modification too then.. Ly-Runit or something else.
Thanks for your attention
PS.: if the runit thread is better for this move it please there