grub-theme-package/PKGBUILD

39 lines
1.2 KiB
Bash
Raw Permalink Normal View History

2019-10-28 20:31:15 +00:00
# Maintainer: davedatum <trom@davedatum.com>
pkgbase=grub-theme-live-tromjaro
2019-11-05 18:00:58 +00:00
pkgname=('grub-theme-live-common' 'grub-theme-live-tromjaro' 'grub-theme-tromjaro')
2021-10-18 13:57:52 +00:00
pkgver=18.1
2019-11-05 20:39:52 +00:00
pkgrel=1.2
2019-10-28 20:31:15 +00:00
pkgdesc='TROMjaro Linux grub theme'
arch=('any')
2021-10-18 12:14:06 +00:00
url="https://git.trom.tf/TROMjaro/grub-theme-settings"
2019-10-28 20:31:15 +00:00
license=('GPL')
makedepends=('git')
2021-10-18 12:14:06 +00:00
source=("grub-theme-settings::git+$url.git#commit=56320c88cb4f592d273d7f1e989ccf163c3129b6")
2019-10-28 20:31:15 +00:00
sha256sums=('SKIP')
2019-11-05 18:00:58 +00:00
package_grub-theme-live-common() {
2019-10-28 20:31:15 +00:00
depends=('grub')
2019-11-05 18:00:58 +00:00
conflicts=('grub-theme-live-dev')
2019-10-28 20:31:15 +00:00
2021-10-18 13:54:17 +00:00
cd grub-theme-settings
2019-10-28 20:31:15 +00:00
make PREFIX=/usr DESTDIR=${pkgdir} install_common
}
package_grub-theme-live-tromjaro() {
2019-11-05 18:00:58 +00:00
depends=('grub-theme-live-common')
2019-10-28 22:48:05 +00:00
conflicts=('grub-theme-live-common-dev' 'grub-theme-live-manjaro')
2019-10-28 20:31:15 +00:00
2021-10-18 13:56:10 +00:00
cd grub-theme-settings
2019-11-05 20:39:52 +00:00
make PREFIX=/usr DESTDIR=${pkgdir} install_manjaro
2019-10-28 20:31:15 +00:00
}
package_grub-theme-tromjaro() {
depends=('grub')
2019-10-28 22:48:05 +00:00
conflicts=('grub-theme-tromjaro-dev' 'grub-theme-manjaro' 'grub-theme-manjaro-dev')
2019-11-05 20:39:52 +00:00
install=manjaro-theme.install
2019-10-28 20:31:15 +00:00
2021-10-18 13:55:21 +00:00
cd grub-theme-settings/manjaro-live
2019-10-28 20:31:15 +00:00
sed -i -e 's,.*text = "Welcome to TROMjaro".*,#text = "Welcome to TROMjaro",' theme.txt #remove welcome message
2019-11-05 20:39:52 +00:00
find . -type f -exec install -D -m644 {} ${pkgdir}/usr/share/grub/themes/manjaro/{} \;
2019-10-28 20:31:15 +00:00
}