arch/pkg/de-p1st-grub/PKGBUILD

33 lines
685 B
Bash
Raw Normal View History

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-05-03 16:12:27 +02:00
pkgver=0.0.3
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')
groups=()
2021-05-03 16:12:27 +02:00
depends=('grub' 'holo')
2021-04-22 13:37:47 +02:00
makedepends=('git')
2021-04-20 11:38:42 +02:00
optdepends=()
provides=()
conflicts=()
replaces=()
backup=()
options=()
2021-05-03 16:12:27 +02:00
install='.install'
2021-04-20 11:38:42 +02:00
changelog=
source=("git+${url}.git")
noextract=()
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
install -Dm0544 grub.holoscript "$pkgdir"/usr/share/holo/files/"$pkgname"/etc/default/grub.holoscript
2021-04-20 11:38:42 +02:00
}