projects/aports·blob master · refs

32 lines · 1.0 KiB

1# Contributor: Carlo Landmeter <[email protected]>
2# Maintainer: Lucas Ramage <[email protected]>
3pkgname=efivar
4pkgver=39
5pkgrel=1
6pkgdesc="Tools and library to manipulate EFI variables"
7url="https://github.com/rhboot/efivar"
8arch="all"
9license="LGPL-2.1-only"
10makedepends="popt-dev linux-headers mandoc"
11subpackages="$pkgname-dev $pkgname-doc $pkgname-libs"
12source="$pkgname-$pkgver.tar.gz::https://github.com/rhboot/efivar/archive/refs/tags/$pkgver.tar.gz
13 no-march-native.patch
14 "
15
16build() {
17 libdir="/usr/lib" make HOST_MARCH=
18}
19
20package() {
21 libdir="/usr/lib" make DESTDIR="$pkgdir" install
22}
23
24check() {
25 LD_LIBRARY_PATH="$builddir"/src \
26 "$builddir"/src/efivar --help > /dev/null
27}
28
29sha512sums="
3004493c30efbfc2773abac9a3dd93aa13403c05e29e3bfc72877d2054930811fae99119aadcb1729b6ca85abf5a24db786ea0c27c16d5458ef1b19e74696f5ff7 efivar-39.tar.gz
313aec177440c62ff237d807070dd80dd6df80532e99e77d4f817bd7db735def8a4e99201998d38d20d5e7c99734410eca60122d745b8cea710ecaf544715dd45a no-march-native.patch
32"