summaryrefslogtreecommitdiff
path: root/user/efibootmgr/APKBUILD
blob: 0cde72c5a1648c8a0dc724c6eb68e8acfb4dd015 (plain) (blame)
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
# Contributor: A. Wilcox <awilfox@adelielinux.org>
# Maintainer: A. Wilcox <awilfox@adelielinux.org>
pkgname=efibootmgr
pkgver=16
pkgrel=0
pkgdesc="User-space application to modify the Intel EFI Boot Manager"
url="https://github.com/rhboot/efibootmgr"
arch="pmmx x86_64 arm64 ia64"
options="!check"  # Dangerous.
license="GPL-2.0-only"
depends=""
makedepends="efivar-dev"
subpackages="$pkgname-doc"
source="https://github.com/rhboot/$pkgname/releases/download/$pkgver/$pkgname-$pkgver.tar.bz2"

build() {
	cd "$builddir"
	make EFIDIR="Adelie" libdir="/usr/lib" LIBS="intl"
}

package() {
	cd "$builddir"
	make EFIDIR="Adelie" libdir="/usr/lib" LIBS="intl" DESTDIR="$pkgdir" install
}

sha512sums="936318c7163c07b716f89be3d830957d9db68ba1b059223f7ea3d9eafe0dbf1c91b9aee096f5aed70955c6052c3b8547295c0a47f17cdf43788259d87d1990b9  efibootmgr-16.tar.bz2"