summaryrefslogtreecommitdiff
path: root/core/efibootmgr/MAKEPKG
blob: 46e8f6fc4ce1bca40c094d1ea7941c11780be23d (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
30
#!/bin/mkpkg
# description: Tool to modify UEFI boot manager
# url: https://github.com/rhboot/efibootmgr


name=efibootmgr
version=18
release=1
depends=(efivar popt)
source=(https://github.com/rhboot/$name/archive/$version/$name-$version.tar.gz)

sha256sums=(
    "442867d12f8525034a404fc8af3036dba8e1fc970998af2486c3b940dfad0874"
)

build() {
    cd $name-$version
    # Fix -Werror
    sed -i 's/-Werror//' Make.defaults

    make CC=clang EFIDIR=opentux EFI_LOADER=vmlinuz.efi sbindir=/sbin
    make install CC=clang PREFIX=/ EFIDIR=opentux DESTDIR=$PKG sbindir=/sbin
}

signify() {
    untrusted comment: public key
    RWTZ9IduCSQ/mL8337TEUinPwT92xFEUpD92hkS7IxcOnzTt9QdpohT3
}

# vim: filetype=sh