inital commit
This commit is contained in:
40
PKGBUILD
Normal file
40
PKGBUILD
Normal file
@ -0,0 +1,40 @@
|
||||
# Maintainer: davedatum <trom@davedatum.com>
|
||||
|
||||
pkgbase=grub-theme-live-tromjaro
|
||||
pkgname=('grub-theme-live-common-tromjaro' 'grub-theme-live-tromjaro' 'grub-theme-tromjaro')
|
||||
pkgver=18.0
|
||||
pkgrel=1
|
||||
_branch=master
|
||||
|
||||
pkgdesc='TROMjaro Linux grub theme'
|
||||
arch=('any')
|
||||
url="https://gitlab.manjaro.org/artwork/branding/grub-theme"
|
||||
license=('GPL')
|
||||
makedepends=('git')
|
||||
source=("grub-theme::git+$url.git#branch=$_branch")
|
||||
sha256sums=('SKIP')
|
||||
|
||||
package_grub-theme-live-common-tromjaro() {
|
||||
depends=('grub')
|
||||
conflicts=('grub-theme-live-dev')
|
||||
|
||||
cd grub-theme
|
||||
make PREFIX=/usr DESTDIR=${pkgdir} install_common
|
||||
}
|
||||
package_grub-theme-live-tromjaro() {
|
||||
depends=('grub-theme-live-common')
|
||||
conflicts=('grub-theme-live-common-dev')
|
||||
|
||||
cd grub-theme
|
||||
make PREFIX=/usr DESTDIR=${pkgdir} install_tromjaro
|
||||
}
|
||||
|
||||
package_grub-theme-tromjaro() {
|
||||
depends=('grub')
|
||||
conflicts=('grub-theme-tromjaro-dev')
|
||||
install=tromjaro-theme.install
|
||||
|
||||
cd grub-theme/tromjaro-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/{} \;
|
||||
}
|
Reference in New Issue
Block a user