summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: d596df0e38edd84fffdeb47e457faac47f04c496 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
# Maintainer: Nicolas Stalder <n+archlinux@stalder.io>
pkgname=grml-systemd-boot
pkgver="2025.12"
pkgrel=1
pkgdesc="GRML as systemd-boot loader entry"
url="https://wiki.archlinux.org/title/Systemd-boot#Grml_on_ESP"
arch=(any)
license=(GPL)
depends=(systemd)

source=(
	https://download.grml.org/grml-small-$pkgver-amd64.iso
	grml.conf
)

# add dummy entries for `make generate-checksums` to create SHA256 instead of MD5 check sums
sha256sums=(
    '30debbf50cefa36e638b9805a2b3b9bf8f9a1fc517ca29b89ac3d2ab2af90b3d'
    '6c45a8da036f41753cb7309ea4d61a6b1423d07e633edb1130f9ab890a207809'
)

package() {
  install -d ${pkgdir}/boot/grml
  cp $srcdir/boot/grmlsmallamd64/vmlinuz $pkgdir/boot/grml
  cp $srcdir/boot/grmlsmallamd64/initrd.img $pkgdir/boot/grml
  cp $srcdir/live/grml-small-amd64/grml-small-amd64.squashfs $pkgdir/boot/grml
  install -d $pkgdir/boot/loader/entries
  cp grml.conf $pkgdir/boot/loader/entries
}