blob: 22cc19a15b4f727279274541d457dcc115e257e2 (
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
|
# Maintainer: "Amhairghin" Oscar Garcia Amor (https://ogarcia.me)
# Build Options
_boot_dir=${boot_dir:-/boot}
_efi_dir=${efi_dir:-/boot/EFI}
pkgname=netbootxyz-systemd-boot
pkgver=2.0.87
pkgrel=1
pkgdesc='netboot.xyz as systemd-boot loader entry'
arch=('x86_64')
url='https://netboot.xyz/'
license=('Apache-2.0')
depends=('systemd')
options=('!debug')
backup=("boot/loader/entries/netbootxyz.conf")
source=("https://github.com/netbootxyz/netboot.xyz/releases/download/${pkgver}/netboot.xyz.efi"
"netbootxyz.conf")
b2sums=('bf963bf5a658e68a9dc0aca4308d5d9ae98a539e4f41f604545d3eb38e7c831bb977a66daf7bf93bd070f8162f577b39438f769a825762174fefbd10736d2b9a'
'0d75be01199f04deae3a6bd0d40198b888ed6b60820fd81de26ed84730c033323a5694edf6e86e87e678f573204b209a6a3da690af303256661dedccbf50180b')
package() {
install -d "${pkgdir}"/"${_efi_dir}"/netbootxyz
install "${srcdir}"/netboot.xyz.efi "${pkgdir}"/"${_efi_dir}"/netbootxyz/netbootxyz.efi
install -d -m 755 "${pkgdir}"/"${_boot_dir}"/loader/entries
install netbootxyz.conf "${pkgdir}"/"${_boot_dir}"/loader/entries/netbootxyz.conf
}
|