Skip to content

Commit f91c1fd

Browse files
Elsie19oklopferpre-commit-ci[bot]
authored
add: hello-rhino-git (#6778)
Co-authored-by: oklopfer <104327997+oklopfer@users.noreply.github.com> Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
1 parent f2d8c9b commit f91c1fd

File tree

4 files changed

+69
-0
lines changed

4 files changed

+69
-0
lines changed

packagelist

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -219,6 +219,7 @@ headset-deb
219219
helix
220220
hello
221221
hello-rhino-bin
222+
hello-rhino-git
222223
heroic-games-launcher-deb
223224
highlight-pointer-bin
224225
honkers-launcher-bin

packages/hello-rhino-git/.SRCINFO

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
pkgbase = hello-rhino-git
2+
gives = hello-rhino
3+
pkgver = 2025.1-1
4+
pkgdesc = Greeter application for Rhino Linux
5+
arch = any
6+
depends = libssl-dev
7+
makedepends = cargo>=1.80.0
8+
makedepends = meson
9+
makedepends = ninja-build
10+
makedepends = gettext
11+
maintainer = AJStrong <ajstrongdev@proton.me>
12+
source = https://github.com/rhino-linux/hello-rhino.git
13+
14+
pkgname = hello-rhino-git
Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
1+
pkgname="hello-rhino-git"
2+
gives="hello-rhino"
3+
source=("https://github.com/rhino-linux/hello-rhino.git")
4+
arch=("any")
5+
pkgver="2025.1-1"
6+
depends=("libssl-dev")
7+
makedepends=("cargo>=1.80.0" "meson" "ninja-build" "gettext")
8+
pkgdesc="Greeter application for Rhino Linux"
9+
maintainer=("AJStrong <ajstrongdev@proton.me>")
10+
external_connection=true
11+
12+
prepare() {
13+
cd "${gives}"
14+
meson setup build/ --buildtype=release --prefix=/usr/local
15+
}
16+
17+
build() {
18+
cd "${gives}"
19+
ninja -C build/ -j"${NCPU}"
20+
}
21+
22+
package() {
23+
cd "${gives}"
24+
DESTDIR="${pkgdir}" ninja -C build/ install
25+
}
26+
27+
post_install() {
28+
mkdir -p "${homedir}/.config/autostart"
29+
if ! [[ -f "${homedir}/.config/autostart/hello-rhino.desktop" ]]; then
30+
sudo cp "/usr/local/share/applications/hello-rhino.desktop" "${homedir}/.config/autostart/hello-rhino.desktop"
31+
sudo chown "${PACSTALL_USER}" "${homedir}/.config/autostart/hello-rhino.desktop"
32+
fi
33+
}
34+
35+
post_remove() {
36+
if [[ -f "${homedir}/.config/autostart/hello-rhino.desktop" ]]; then
37+
sudo rm -f "${homedir}/.config/autostart/hello-rhino.desktop"
38+
fi
39+
}

srclist

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4465,6 +4465,21 @@ pkgbase = hello-rhino-bin
44654465

44664466
pkgname = hello-rhino-bin
44674467
---
4468+
pkgbase = hello-rhino-git
4469+
gives = hello-rhino
4470+
pkgver = 2025.1-1
4471+
pkgdesc = Greeter application for Rhino Linux
4472+
arch = any
4473+
depends = libssl-dev
4474+
makedepends = cargo>=1.80.0
4475+
makedepends = meson
4476+
makedepends = ninja-build
4477+
makedepends = gettext
4478+
maintainer = AJStrong <ajstrongdev@proton.me>
4479+
source = https://github.com/rhino-linux/hello-rhino.git
4480+
4481+
pkgname = hello-rhino-git
4482+
---
44684483
pkgbase = hello
44694484
pkgver = 2.12.1
44704485
pkgdesc = GNU implementation of the classic program that prints 'Hello, world!' when you run it

0 commit comments

Comments
 (0)