Add xinit-xsession package from AUR

- Add keyword to updated Ly ebuild
- Add ebuild for xinit-xsession AUR package
This commit is contained in:
Sravan Balaji 2024-05-03 16:15:44 -04:00
parent 0008749be9
commit 9cc05f044a
4 changed files with 29 additions and 0 deletions

View File

@ -11,6 +11,7 @@ EGIT_REPO_URI="https://github.com/fairyglade/ly.git"
LICENSE="WTFPL-2"
SLOT="0"
KEYWORDS="amd64"
IUSE="openrc runit systemd"
DEPEND="sys-libs/pam

View File

@ -0,0 +1,6 @@
[Desktop Entry]
Name=xinitrc
Comment=Executes the .xinitrc script in your home directory
Exec=xinitrcsession-helper
TryExec=xinitrcsession-helper
Type=Application

View File

@ -0,0 +1,3 @@
#!/usr/bin/env sh
: "${XINITRC:=$HOME/.xinitrc}"
exec "${XINITRC}"

View File

@ -0,0 +1,19 @@
# Copyright 1999-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
DESCRIPTION="Allows ~/.xinitrc to be run as a session from your display manager"
HOMEPAGE="https://aur.archlinux.org/packages/xinit-xsession"
S=${FILESDIR}
LICENSE="GPL-3"
SLOT="0"
KEYWORDS="amd64"
src_install() {
dobin "${FILESDIR}"/xinitrcsession-helper
insinto /usr/share/xsessions/
doins "${FILESDIR}"/xinitrc.desktop
}