build-scripts/arch/nvramtool-git/PKGBUILD

27 lines
514 B
Bash

# Maintainer: Alexander Rosenberg <zanderpkg at pm dot me>
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"
}