This commit is contained in:
davedatum
2019-11-05 20:39:52 +00:00
parent 1724393a3f
commit 182a51dfbe
4 changed files with 14 additions and 14 deletions

View File

@@ -3,14 +3,14 @@
pkgbase=grub-theme-live-tromjaro
pkgname=('grub-theme-live-common' 'grub-theme-live-tromjaro' 'grub-theme-tromjaro')
pkgver=18.0
pkgrel=1.1
pkgrel=1.2
pkgdesc='TROMjaro Linux grub theme'
arch=('any')
url="https://gitlab.com/tromsite/tromjaro/grub-theme"
license=('GPL')
makedepends=('git')
source=("grub-theme::git+$url.git#commit=354496ecee545f666222c17c603c70ba1f45f873")
source=("grub-theme::git+$url.git#commit=56320c88cb4f592d273d7f1e989ccf163c3129b6")
sha256sums=('SKIP')
package_grub-theme-live-common() {
@@ -25,15 +25,15 @@ package_grub-theme-live-tromjaro() {
conflicts=('grub-theme-live-common-dev' 'grub-theme-live-manjaro')
cd grub-theme
make PREFIX=/usr DESTDIR=${pkgdir} install_tromjaro
make PREFIX=/usr DESTDIR=${pkgdir} install_manjaro
}
package_grub-theme-tromjaro() {
depends=('grub')
conflicts=('grub-theme-tromjaro-dev' 'grub-theme-manjaro' 'grub-theme-manjaro-dev')
install=tromjaro-theme.install
install=manjaro-theme.install
cd grub-theme/tromjaro-live
cd grub-theme/manjaro-live
sed -i -e 's,.*text = "Welcome to TROMjaro".*,#text = "Welcome to TROMjaro",' theme.txt #remove welcome message
find . -type f -exec install -D -m644 {} ${pkgdir}/usr/share/grub/themes/tromjaro/{} \;
find . -type f -exec install -D -m644 {} ${pkgdir}/usr/share/grub/themes/manjaro/{} \;
}