summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 10ebecb38628886317c9ce76b56687e6c0328248 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
# 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
}