grub-theme-package/PKGBUILD

39 lines
1.2 KiB
Bash
Raw Normal View History

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