Skip to content

Commit 411e39d

Browse files
committed
add: hello-rhino-git
1 parent af95523 commit 411e39d

File tree

4 files changed

+59
-0
lines changed

4 files changed

+59
-0
lines changed

packagelist

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -213,6 +213,7 @@ harmonoid-deb
213213
headset-deb
214214
helix
215215
hello
216+
hello-rhino-git
216217
heroic-games-launcher-deb
217218
highlight-pointer-bin
218219
honkers-launcher-bin

packages/hello-rhino-git/.SRCINFO

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
pkgbase = hello-rhino-git
2+
gives = hello-rhino
3+
pkgver = 2024.3
4+
pkgdesc = Greeter application for Rhino Linux
5+
arch = any
6+
depends = libssl-dev
7+
makedepends = rustc
8+
makedepends = cargo
9+
maintainer = AJStrong <ajstrongdev@proton.me>
10+
source = https://github.com/sundaram123krishnan/hello-rhino.git
11+
12+
pkgname = hello-rhino-git
Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
pkgname="hello-rhino-git"
2+
gives="hello-rhino"
3+
source=("https://github.com/sundaram123krishnan/hello-rhino.git")
4+
arch=("any")
5+
pkgver="2024.3"
6+
depends=("libssl-dev")
7+
makedepends=("rustc" "cargo")
8+
pkgdesc="Greeter application for Rhino Linux"
9+
maintainer=("AJStrong <ajstrongdev@proton.me>")
10+
external_connection=true
11+
12+
build() {
13+
cd "${gives}"
14+
cargo build -j"${NCPU}" --locked --release
15+
}
16+
17+
package() {
18+
cd "${gives}"
19+
install -Dm755 "target/release/${gives}" -t "${pkgdir}/usr/bin"
20+
}
21+
22+
post_install() {
23+
mkdir -p "${homedir}/.config/autostart"
24+
if ! [[ -f "${homedir}/.config/autostart/hello-rhino.desktop" ]]; then
25+
sudo ln -sf "/usr/local/share/applications/hello-rhino.desktop" "${homedir}/.config/autostart/hello-rhino.desktop"
26+
fi
27+
}
28+
29+
post_remove() {
30+
if [[ -L "${homedir}/.config/autostart/hello-rhino.desktop" ]]; then
31+
sudo rm -f "${homedir}/.config/autostart/hello-rhino.desktop"
32+
fi
33+
}

srclist

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4339,6 +4339,19 @@ pkgbase = helix
43394339

43404340
pkgname = helix
43414341
---
4342+
pkgbase = hello-rhino-git
4343+
gives = hello-rhino
4344+
pkgver = 2024.3
4345+
pkgdesc = Greeter application for Rhino Linux
4346+
arch = any
4347+
depends = libssl-dev
4348+
makedepends = rustc
4349+
makedepends = cargo
4350+
maintainer = AJStrong <ajstrongdev@proton.me>
4351+
source = https://github.com/sundaram123krishnan/hello-rhino.git
4352+
4353+
pkgname = hello-rhino-git
4354+
---
43424355
pkgbase = hello
43434356
pkgver = 2.12.1
43444357
pkgdesc = GNU implementation of the classic program that prints 'Hello, world!' when you run it

0 commit comments

Comments
 (0)