Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(hello-rhino-{bin,git}): add autostart to user creation #6872

Merged
merged 2 commits into from
Jan 13, 2025
Merged
Show file tree
Hide file tree
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
2 changes: 2 additions & 0 deletions packages/hello-rhino-bin/.SRCINFO
Original file line number Diff line number Diff line change
@@ -1,9 +1,11 @@
pkgbase = hello-rhino-bin
gives = hello-rhino
pkgver = 2025.1-1
pkgrel = 2
pkgdesc = Rhino Linux Welcome Screen
arch = arm64
arch = amd64
depends = libssl-dev
depends = gettext
replaces = hello-rhino
replaces = hello-rhino-git
Expand Down
5 changes: 4 additions & 1 deletion packages/hello-rhino-bin/hello-rhino-bin.pacscript
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
pkgname="hello-rhino-bin"
depends=("gettext")
depends=("libssl-dev" "gettext")
gives="hello-rhino"
pkgdesc="Rhino Linux Welcome Screen"
maintainer=("Oren Klopfer <[email protected]>")
pkgver="2025.1-1"
pkgrel="2"
replaces=("${gives}" "${gives}-git")
arch=('arm64' 'amd64')
sha256sums_arm64=("b63080659292f31546c36c7aa0517a4c8862684f4737039f8c2cf0b0e8f732e9")
Expand All @@ -12,8 +13,10 @@ source=("https://github.com/rhino-linux/${gives}/releases/download/v${pkgver}/${

package() {
mkdir -p "${pkgdir}/usr"
mkdir -p "${pkgdir}/etc/skel/.config/autostart"
chmod +x "usr/local/bin/${gives}"
cp -rf usr/* "${pkgdir}/usr"
ln -sf "/usr/local/share/applications/hello-rhino.desktop" "${pkgdir}/etc/skel/.config/autostart/hello-rhino.desktop"
}

post_install() {
Expand Down
2 changes: 2 additions & 0 deletions packages/hello-rhino-git/.SRCINFO
Original file line number Diff line number Diff line change
@@ -1,9 +1,11 @@
pkgbase = hello-rhino-git
gives = hello-rhino
pkgver = 2025.1-1
pkgrel = 2
pkgdesc = Greeter application for Rhino Linux
arch = any
depends = libssl-dev
depends = gettext
makedepends = cargo>=1.80.0
makedepends = meson
makedepends = ninja-build
Expand Down
5 changes: 4 additions & 1 deletion packages/hello-rhino-git/hello-rhino-git.pacscript
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,8 @@ gives="hello-rhino"
source=("https://github.com/rhino-linux/hello-rhino.git")
arch=("any")
pkgver="2025.1-1"
depends=("libssl-dev")
pkgrel="2"
depends=("libssl-dev" "gettext")
makedepends=("cargo>=1.80.0" "meson" "ninja-build" "gettext")
pkgdesc="Greeter application for Rhino Linux"
maintainer=("AJStrong <[email protected]>")
Expand All @@ -22,6 +23,8 @@ build() {
package() {
cd "${gives}"
DESTDIR="${pkgdir}" ninja -C build/ install
mkdir -p "${pkgdir}/etc/skel/.config/autostart"
ln -sf "/usr/local/share/applications/hello-rhino.desktop" "${pkgdir}/etc/skel/.config/autostart/hello-rhino.desktop"
}

post_install() {
Expand Down
4 changes: 4 additions & 0 deletions srclist
Original file line number Diff line number Diff line change
Expand Up @@ -4463,9 +4463,11 @@ pkgname = helix
pkgbase = hello-rhino-bin
gives = hello-rhino
pkgver = 2025.1-1
pkgrel = 2
pkgdesc = Rhino Linux Welcome Screen
arch = arm64
arch = amd64
depends = libssl-dev
depends = gettext
replaces = hello-rhino
replaces = hello-rhino-git
Expand All @@ -4480,9 +4482,11 @@ pkgname = hello-rhino-bin
pkgbase = hello-rhino-git
gives = hello-rhino
pkgver = 2025.1-1
pkgrel = 2
pkgdesc = Greeter application for Rhino Linux
arch = any
depends = libssl-dev
depends = gettext
makedepends = cargo>=1.80.0
makedepends = meson
makedepends = ninja-build
Expand Down
Loading