Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
38 changes: 38 additions & 0 deletions srcpkgs/ly/template
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
# Template file for 'ly'
pkgname=ly
version="1.0.3"
revision=1
archs="i686 x86_64"
build_style=zig-build
#build_wrksrc=
#configure_args="installrunit"
conf_files="/etc/ly/config.ini"
hostmakedepends="git"
makedepends="pam-devel libxcb-devel"
depends="pam util-linux"
short_desc="Ly is a lightweight TUI (ncurses-like) display manager for Linux and BSD."
maintainer="Encoded14 <linusken@tuta.io>"
license="WTFPL-2.0"
homepage="https://github.com/fairyglade/ly"
distfiles="https://github.com/fairyglade/ly/archive/refs/tags/v${version}.tar.gz"
checksum=269cc070905bd3a064b458dacb25787e409dad5930f2fbb98640f8e4f57b0bf6
nopie_files=/usr/bin/ly

do_install() {
vbin zig-out/usr/bin/ly
vmkdir etc/ly/lang
vcopy res/config.ini etc/ly
vcopy res/wsetup.sh etc/ly
vcopy res/xsetup.sh etc/ly
vcopy res/lang etc/ly
vmkdir etc/pam.d
vinstall res/pam.d/ly 0644 etc/pam.d
vmkdir etc/sv/ly
for FILE in res/ly-runit-service/*; do
vinstall ${FILE} 0755 etc/sv/ly
done
}

post_install() {
vlicense license.md
}
Loading