Skip to content

Commit

Permalink
add: hello-rhino-bin (#6847)
Browse files Browse the repository at this point in the history
Co-authored-by: ook37 <[email protected]>
  • Loading branch information
oklopfer and ook37 authored Jan 10, 2025
1 parent 9ce78e8 commit c910955
Show file tree
Hide file tree
Showing 4 changed files with 65 additions and 0 deletions.
1 change: 1 addition & 0 deletions packagelist
Original file line number Diff line number Diff line change
Expand Up @@ -216,6 +216,7 @@ harmonoid-deb
headset-deb
helix
hello
hello-rhino-bin
heroic-games-launcher-deb
highlight-pointer-bin
honkers-launcher-bin
Expand Down
16 changes: 16 additions & 0 deletions packages/hello-rhino-bin/.SRCINFO
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
pkgbase = hello-rhino-bin
gives = hello-rhino
pkgver = 2025.1-1
pkgdesc = Rhino Linux Welcome Screen
arch = arm64
arch = amd64
depends = gettext
replaces = hello-rhino
replaces = hello-rhino-git
maintainer = Oren Klopfer <[email protected]>
source_arm64 = https://github.com/rhino-linux/hello-rhino/releases/download/v2025.1-1/hello-rhino_v2025.1-1_arm64.zip
sha256sums_arm64 = b63080659292f31546c36c7aa0517a4c8862684f4737039f8c2cf0b0e8f732e9
source_amd64 = https://github.com/rhino-linux/hello-rhino/releases/download/v2025.1-1/hello-rhino_v2025.1-1_amd64.zip
sha256sums_amd64 = aa58b85e5f20a54ed2b3946d171f1e07bbb2df486b8cf4d67063809dc7aa4777

pkgname = hello-rhino-bin
31 changes: 31 additions & 0 deletions packages/hello-rhino-bin/hello-rhino-bin.pacscript
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
pkgname="hello-rhino-bin"
depends=("gettext")
gives="hello-rhino"
pkgdesc="Rhino Linux Welcome Screen"
maintainer=("Oren Klopfer <[email protected]>")
pkgver="2025.1-1"
replaces=("${gives}" "${gives}-git")
arch=('arm64' 'amd64')
sha256sums_arm64=("b63080659292f31546c36c7aa0517a4c8862684f4737039f8c2cf0b0e8f732e9")
sha256sums_amd64=("aa58b85e5f20a54ed2b3946d171f1e07bbb2df486b8cf4d67063809dc7aa4777")
source=("https://github.com/rhino-linux/${gives}/releases/download/v${pkgver}/${gives}_v${pkgver}_${CARCH}.zip")

package() {
mkdir -p "${pkgdir}/usr"
chmod +x "usr/local/bin/${gives}"
cp -rf usr/* "${pkgdir}/usr"
}

post_install() {
mkdir -p "${homedir}/.config/autostart"
if ! [[ -f "${homedir}/.config/autostart/hello-rhino.desktop" ]]; then
sudo cp "/usr/local/share/applications/hello-rhino.desktop" "${homedir}/.config/autostart/hello-rhino.desktop"
sudo chown "${PACSTALL_USER}" "${homedir}/.config/autostart/hello-rhino.desktop"
fi
}

post_remove() {
if [[ -f "${homedir}/.config/autostart/hello-rhino.desktop" ]]; then
sudo rm -f "${homedir}/.config/autostart/hello-rhino.desktop"
fi
}
17 changes: 17 additions & 0 deletions srclist
Original file line number Diff line number Diff line change
Expand Up @@ -4400,6 +4400,23 @@ pkgbase = helix

pkgname = helix
---
pkgbase = hello-rhino-bin
gives = hello-rhino
pkgver = 2025.1-1
pkgdesc = Rhino Linux Welcome Screen
arch = arm64
arch = amd64
depends = gettext
replaces = hello-rhino
replaces = hello-rhino-git
maintainer = Oren Klopfer <[email protected]>
source_arm64 = https://github.com/rhino-linux/hello-rhino/releases/download/v2025.1-1/hello-rhino_v2025.1-1_arm64.zip
sha256sums_arm64 = b63080659292f31546c36c7aa0517a4c8862684f4737039f8c2cf0b0e8f732e9
source_amd64 = https://github.com/rhino-linux/hello-rhino/releases/download/v2025.1-1/hello-rhino_v2025.1-1_amd64.zip
sha256sums_amd64 = aa58b85e5f20a54ed2b3946d171f1e07bbb2df486b8cf4d67063809dc7aa4777

pkgname = hello-rhino-bin
---
pkgbase = hello
pkgver = 2.12.1
pkgdesc = GNU implementation of the classic program that prints 'Hello, world!' when you run it
Expand Down

0 comments on commit c910955

Please sign in to comment.