build-scripts/arch/coreboot-configurator-git/PKGBUILD

35 lines
764 B
Bash

# Maintainer: Alexander Rosenberg <zanderpkg at pm dot me>
_pkgname=coreboot-configurator
pkgname=$_pkgname-git
pkgver=11.0.gb27400d
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')
provides=("$_pkgname")
license=('GPL2')
makedepends=('ninja' 'meson' 'git')
depends=('nvramtool' 'yaml-cpp' 'qt5-base')
source=('git+https://github.com/StarLabsLtd/coreboot-configurator.git')
sha256sums=('SKIP')
pkgver(){
cd "$_pkgname"
git describe --tags --long | sed 's#-#.#g'
}
build() {
cd "$_pkgname"
meson setup build/
ninja -C build all
}
package() {
cd "$_pkgname"
export DESTDIR="$pkgdir"
ninja -C build install
}