2023-05-22 22:44:43 -07:00
|
|
|
# Maintainer: Alexander Rosenberg <zanderpkg at pm dot me>
|
|
|
|
|
2023-05-22 23:11:11 -07:00
|
|
|
_pkgname='nvramtool'
|
|
|
|
pkgname=$_pkgname-git
|
|
|
|
pkgver=4.20.77.ga398b31108
|
2023-05-22 22:44:43 -07:00
|
|
|
pkgrel=1
|
|
|
|
pkgdesc='Coreboot cli utility for modifying NVRAM'
|
|
|
|
url='https://coreboot.org'
|
|
|
|
arch=('x86_64')
|
|
|
|
license=('GPL2')
|
|
|
|
provides=('nvramtool')
|
2023-05-22 23:11:11 -07:00
|
|
|
makedepends=('git')
|
|
|
|
source=('git+https://github.com/coreboot/coreboot.git')
|
2023-05-22 22:44:43 -07:00
|
|
|
sha256sums=('SKIP')
|
|
|
|
|
|
|
|
pkgver(){
|
|
|
|
cd "coreboot"
|
2023-05-22 23:11:11 -07:00
|
|
|
git describe --tags --long | sed 's#-#.#g'
|
2023-05-22 22:44:43 -07:00
|
|
|
}
|
|
|
|
|
|
|
|
build() {
|
2023-05-22 23:11:11 -07:00
|
|
|
make -C 'coreboot/util/nvramtool'
|
2023-05-22 22:44:43 -07:00
|
|
|
}
|
|
|
|
|
|
|
|
package() {
|
|
|
|
install -Dt "$pkgdir/usr/bin/" "coreboot/util/nvramtool/nvramtool"
|
|
|
|
}
|