diff --git a/srcpkgs/ly/template b/srcpkgs/ly/template new file mode 100644 index 0000000..6414b2e --- /dev/null +++ b/srcpkgs/ly/template @@ -0,0 +1,22 @@ +# Template file for 'ly' +pkgname=ly +version=1.0.3 +revision=1 +build_style=zig-build +nopie=yes +makedepends="pam-devel xcb-util-devel pkg-config" +short_desc="display manager with console UI" +maintainer="Zachary Scheiman " +license="WTFPL" +homepage="https://github.com/fairyglade/ly" +changelog="https://github.com/fairyglade/ly/releases/tag/v${version}" +distfiles="https://github.com/fairyglade/ly/archive/refs/tags/v${version}.tar.gz" +checksum=269cc070905bd3a064b458dacb25787e409dad5930f2fbb98640f8e4f57b0bf6 + +post_install() { + vmkdir etc/sv + vcopy res/ly-runit-service etc/sv/ly + chmod 644 "${PKGDESTDIR}/etc/sv/ly/conf" + chmod 755 "${PKGDESTDIR}/etc/sv/ly/finish" + chmod 755 "${PKGDESTDIR}/etc/sv/ly/run" +}