mirror of
https://gitdl.cn/https://github.com/chakralinux/core.git
synced 2025-02-11 22:44:38 +08:00
31 lines
896 B
Bash
31 lines
896 B
Bash
|
# Contributor from arch: https://projects.archlinux.org/svntogit/packages.git/tree/kde-unstable/PKGBUILD?h=packages/breeze-grub
|
||
|
|
||
|
source ../plasma.conf
|
||
|
|
||
|
pkgname=breeze-grub
|
||
|
pkgver=${PVersion}
|
||
|
pkgrel=1
|
||
|
pkgdesc="Breeze theme for GRUB"
|
||
|
arch=(any)
|
||
|
url='https://projects.kde.org/breeze-grub'
|
||
|
license=(LGPL)
|
||
|
depends=(grub)
|
||
|
makedepends=()
|
||
|
source=("${PServer}/${pkgver}/${pkgname}-${PSubVersion}.tar.xz"
|
||
|
breeze-grub-remove-unsupported-options.patch::"https://quickgit.kde.org/?p=breeze-grub.git&a=commitdiff&h=a978617a&o=plain")
|
||
|
sha256sums=( $(getSum ${pkgname})
|
||
|
'ccb833ccc1227af0cc1d4378f5dc021fe02a34854be73afbecaa285b0c5180b5')
|
||
|
|
||
|
prepare() {
|
||
|
mkdir -p build
|
||
|
|
||
|
# Remove unsupported options
|
||
|
cd $pkgname-$pkgver
|
||
|
patch -p1 -i ../breeze-grub-remove-unsupported-options.patch
|
||
|
}
|
||
|
|
||
|
package() {
|
||
|
install -d "$pkgdir"/boot/grub/themes
|
||
|
cp -r $pkgname-$pkgver/breeze "$pkgdir"/boot/grub/themes
|
||
|
}
|