diff --git a/arch/coreboot-configurator/PKGBUILD b/arch/coreboot-configurator/PKGBUILD index ff03e15..fd5d327 100644 --- a/arch/coreboot-configurator/PKGBUILD +++ b/arch/coreboot-configurator/PKGBUILD @@ -1,13 +1,13 @@ # Maintainer: Alexander Rosenberg pkgname=coreboot-configurator -pkgver=51 +pkgver=54 pkgrel=1 pkgdesc="A simple GUI to change settings in coreboot's CBFS, via the nvramtool utility." url='https://github.com/StarLabsLtd/coreboot-configurator' arch=('x86_64') license=('GPL2') -depends=('coreboot-utils-git' 'yaml-cpp' 'meson' 'qt5-base' 'ninja') +depends=('nvramtool' 'yaml-cpp' 'meson' 'qt5-base' 'ninja') source=('git+https://github.com/StarLabsLtd/coreboot-configurator.git') sha256sums=('SKIP') diff --git a/arch/nvramtool-git/.gitignore b/arch/nvramtool-git/.gitignore new file mode 100644 index 0000000..8ca20f1 --- /dev/null +++ b/arch/nvramtool-git/.gitignore @@ -0,0 +1,2 @@ +coreboot/ +nvramtool-* diff --git a/arch/nvramtool-git/PKGBUILD b/arch/nvramtool-git/PKGBUILD new file mode 100644 index 0000000..6dfbed7 --- /dev/null +++ b/arch/nvramtool-git/PKGBUILD @@ -0,0 +1,26 @@ +# Maintainer: Alexander Rosenberg + +pkgname='nvramtool-git' +pkgver=52843 +pkgrel=1 +pkgdesc='Coreboot cli utility for modifying NVRAM' +url='https://coreboot.org' +arch=('x86_64') +license=('GPL2') +provides=('nvramtool') +source=('git+https://review.coreboot.org/coreboot.git') +sha256sums=('SKIP') + +pkgver(){ + cd "coreboot" + git rev-list --count HEAD +} + +build() { + cd "coreboot/util/nvramtool" + make +} + +package() { + install -Dt "$pkgdir/usr/bin/" "coreboot/util/nvramtool/nvramtool" +}