aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--testing/efivar/APKBUILD7
1 files changed, 5 insertions, 2 deletions
diff --git a/testing/efivar/APKBUILD b/testing/efivar/APKBUILD
index b1436b9692..10c982998a 100644
--- a/testing/efivar/APKBUILD
+++ b/testing/efivar/APKBUILD
@@ -5,7 +5,7 @@ pkgver=31
pkgrel=0
pkgdesc="Tools and library to manipulate EFI variables"
url="https://github.com/rhboot/efivar"
-arch="all"
+arch="x86_64 armhf aarch64"
license="LGPL-2.1"
depends=""
depends_dev=""
@@ -28,7 +28,10 @@ package() {
}
check() {
- "$builddir"/src/efivar --help > /dev/null
+ ln -s "$builddir"/src/libefivar.so \
+ "$builddir"/src/libefivar.so.1
+ LD_LIBRARY_PATH="$builddir"/src \
+ "$builddir"/src/efivar --help > /dev/null
}
sha512sums="5055f690fd99cf59895dcf3d11103494d917d4923567626f0bee816ea5e4dd56cec23627ede5f21bdc57b7306522471ad19cc8ab22ae94591dbd1925c084f163 efivar-31.tar.bz2