summaryrefslogtreecommitdiff
path: root/pcr/libreboot-utils/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'pcr/libreboot-utils/PKGBUILD')
-rw-r--r--pcr/libreboot-utils/PKGBUILD14
1 files changed, 12 insertions, 2 deletions
diff --git a/pcr/libreboot-utils/PKGBUILD b/pcr/libreboot-utils/PKGBUILD
index 5482a7ef0..091263fa6 100644
--- a/pcr/libreboot-utils/PKGBUILD
+++ b/pcr/libreboot-utils/PKGBUILD
@@ -4,14 +4,14 @@
# Maintainers: Parabola hackers <dev@lists.parabola.nu>
pkgname=libreboot-utils
-pkgrel=10
+pkgrel=11
_upstream_ver=20211122
pkgver=4.15.libreboot${_upstream_ver}
pkgdesc="Misc. Coreboot/Libreboot utils (bucts, cbfstool, ECtool, nvramtool, superiotool)"
url="https://libreboot.org/"
arch=('x86_64' 'i686' 'armv7h')
license=('GPL2')
-makedepends=('pciutils')
+makedepends=('pciutils' 'python3')
_mirror="https://mirrors.mit.edu/libreboot" # use a mirror per libreboot's request
source=("${_mirror}/testing/${_upstream_ver}/libreboot-${_upstream_ver}_src.tar.xz"{,.sig}
@@ -85,6 +85,11 @@ build() {
# Build cbmem.
make -C cbmem
+ # Build me_cleaner.
+ cd me_cleaner
+ python3 setup.py build
+ cd ..
+
# Build nvramtool.
make -C nvramtool
@@ -140,6 +145,11 @@ package() {
# Install cbmem.
make -C cbmem install DESTDIR="${pkgdir}" PREFIX=/usr
+ # Install me_cleaner.
+ cd me_cleaner
+ python3 setup.py install --root="$pkgdir/" --optimize=1
+ cd ..
+
# Install nvramtool.
make -C nvramtool install DESTDIR="${pkgdir}" PREFIX=/usr