2021-04-20 11:38:42 +02:00
|
|
|
# Maintainer: Daniel Langbein <daniel@systemli.org>
|
|
|
|
_pkgname=grub
|
2021-04-26 18:28:17 +02:00
|
|
|
_reponame=arch
|
2021-04-20 11:38:42 +02:00
|
|
|
pkgname="de-p1st-$_pkgname"
|
2021-06-18 17:51:45 +02:00
|
|
|
pkgver=0.0.5
|
2021-05-13 21:38:12 +02:00
|
|
|
pkgrel=1
|
2021-04-20 11:38:42 +02:00
|
|
|
pkgdesc="grub with configuration"
|
|
|
|
arch=('any')
|
2021-04-26 18:25:29 +02:00
|
|
|
url="https://codeberg.org/privacy1st/${_reponame}"
|
2021-04-20 11:38:42 +02:00
|
|
|
license=('MIT')
|
2022-04-15 15:36:53 +02:00
|
|
|
depends=()
|
|
|
|
depends+=('grub')
|
|
|
|
depends+=('holo' 'git' 'base') # without base "holo apply" may fail on initial system installation
|
2021-04-22 13:37:47 +02:00
|
|
|
makedepends=('git')
|
2021-05-03 16:12:27 +02:00
|
|
|
install='.install'
|
2021-04-20 11:38:42 +02:00
|
|
|
changelog=
|
|
|
|
source=("git+${url}.git")
|
|
|
|
sha256sums=('SKIP')
|
|
|
|
|
|
|
|
package() {
|
|
|
|
cd "${_reponame}/pkg/${pkgname}"
|
|
|
|
|
2021-04-23 10:58:54 +02:00
|
|
|
install -Dm0755 -o0 40_efi_setup "$pkgdir"/etc/grub.d/40_efi_setup
|
2021-05-03 16:12:27 +02:00
|
|
|
|
2021-06-18 17:51:45 +02:00
|
|
|
install -Dm0544 grub.holoscript "$pkgdir"/usr/share/holo/files/10-"$pkgname"/etc/default/grub.holoscript
|
2021-04-20 11:38:42 +02:00
|
|
|
}
|