Skip to content

Commit

Permalink
add: rhino-grub-theme-git (#6804)
Browse files Browse the repository at this point in the history
Co-authored-by: ook37 <[email protected]>
  • Loading branch information
oklopfer and ook37 authored Dec 30, 2024
1 parent 38caf8d commit ae75040
Show file tree
Hide file tree
Showing 4 changed files with 40 additions and 0 deletions.
1 change: 1 addition & 0 deletions packagelist
Original file line number Diff line number Diff line change
Expand Up @@ -478,6 +478,7 @@ restic-bin
resticprofile-bin
rhino-core
rhino-docker-builder-git
rhino-grub-theme-git
rhino-kvantum-theme-git
rhino-lightdm-theme-git
rhino-neofetch-git
Expand Down
9 changes: 9 additions & 0 deletions packages/rhino-grub-theme-git/.SRCINFO
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
pkgbase = rhino-grub-theme-git
gives = rhino-grub-theme
pkgver = 0.0.1
pkgdesc = Custom Grub Loader theme for Rhino Linux
arch = all
maintainer = Oren Klopfer <[email protected]>
source = rhino-grub-theme::https://github.com/rhino-linux/grub.git

pkgname = rhino-grub-theme-git
20 changes: 20 additions & 0 deletions packages/rhino-grub-theme-git/rhino-grub-theme-git.pacscript
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
pkgname="rhino-grub-theme-git"
gives="rhino-grub-theme"
source=("${gives}::https://github.com/rhino-linux/grub.git")
arch=("all")
pkgver="0.0.1"
pkgdesc="Custom Grub Loader theme for Rhino Linux"
maintainer=("Oren Klopfer <[email protected]>")

package() {
mkdir -p "${pkgdir}/usr/share/grub/themes/rhino"
cp -r "${gives}"/* "${pkgdir}/usr/share/grub/themes/rhino"
}

post_install() {
echo "====================================================================="
echo "To enable this theme, add the following line to '/etc/default/grub':"
echo "GRUB_THEME=/usr/share/grub/themes/rhino/theme.txt"
echo "Then, run 'sudo update-grub' and reboot."
echo "====================================================================="
}
10 changes: 10 additions & 0 deletions srclist
Original file line number Diff line number Diff line change
Expand Up @@ -9595,6 +9595,16 @@ pkgbase = rhino-docker-builder-git

pkgname = rhino-docker-builder-git
---
pkgbase = rhino-grub-theme-git
gives = rhino-grub-theme
pkgver = 0.0.1
pkgdesc = Custom Grub Loader theme for Rhino Linux
arch = all
maintainer = Oren Klopfer <[email protected]>
source = rhino-grub-theme::https://github.com/rhino-linux/grub.git

pkgname = rhino-grub-theme-git
---
pkgbase = rhino-kvantum-theme-git
gives = rhino-kvantum-theme
pkgver = 0.0.1
Expand Down

0 comments on commit ae75040

Please sign in to comment.