grub-theme-package/PKGBUILD

39 lines
1.2 KiB
Bash
Raw 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')
2019-10-28 20:31:15 +00:00
pkgver=18.0
2019-11-05 19:04:14 +00:00
pkgrel=1.1
2019-10-28 20:31:15 +00:00
pkgdesc='TROMjaro Linux grub theme'
arch=('any')
2019-10-28 20:32:55 +00:00
url="https://gitlab.com/tromsite/tromjaro/grub-theme"
2019-10-28 20:31:15 +00:00
license=('GPL')
makedepends=('git')
2019-11-05 19:06:30 +00:00
source=("grub-theme::git+$url.git#commit=354496ecee545f666222c17c603c70ba1f45f873")
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
cd grub-theme
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
cd grub-theme
make PREFIX=/usr DESTDIR=${pkgdir} install_tromjaro
}
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-10-28 20:31:15 +00:00
install=tromjaro-theme.install
2019-11-05 17:50:53 +00:00
cd grub-theme/tromjaro-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-10-30 15:32:45 +00:00
find . -type f -exec install -D -m644 {} ${pkgdir}/usr/share/grub/themes/tromjaro/{} \;
2019-10-28 20:31:15 +00:00
}