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

35 lines
764 B
Bash
Raw Permalink Normal View History

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