summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 18ae54f9966c914666f22bf7c1214655b9106dd3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
pkgname=netbootxyz-systemd-boot
pkgver=2.0.84
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=('816e6242d58069f81ad372e3044b9b7a3060b44ec38d80a1f7c5e060106ed92b545c2980782b6f41741ee1ca6d77bb2b2d5854ca1d0b32301acc6167cd733ae1'
        '0d75be01199f04deae3a6bd0d40198b888ed6b60820fd81de26ed84730c033323a5694edf6e86e87e678f573204b209a6a3da690af303256661dedccbf50180b')

package() {
  install -d "${pkgdir}"/boot/EFI/netbootxyz
  install "${srcdir}"/netboot.xyz.efi "${pkgdir}"/boot/EFI/netbootxyz/netbootxyz.efi
  install -d -m 755 "${pkgdir}"/boot/loader/entries
  install netbootxyz.conf "${pkgdir}"/boot/loader/entries/netbootxyz.conf
}