summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 939569fba216b334ae942899b09eeaf3d33d427c (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
# Maintainer: Jason Goulet-Lipman <jason.gouletlipman@gmail.com>

pkgname=nvramtool-corevantage-git
pkgver=4.13.r927fa6d04c
_gitrev=927fa6d04c
pkgrel=1
pkgdesc="Build of nvramtool ensured to be compatible with the Corevantage project"
url="https://www.coreboot.org/Nvramtool"
license=('GPL2')
arch=('i686' 'x86_64')
makedepends=('git')
conflicts=('nvramtool')
provides=('nvramtool')
source=("git+https://review.coreboot.org/coreboot#commit=${_gitrev}")
sha256sums=('SKIP')

build() {
	cd "$srcdir/coreboot/util/nvramtool"
	make -j`nproc`
}

package() {
	cd "$srcdir/coreboot/util/nvramtool"
	install -d "$pkgdir/usr/bin" "$pkgdir/usr/share/man/man8"
	install -m755 nvramtool "$pkgdir/usr/bin/nvramtool"
	install -m644 cli/nvramtool.8 "$pkgdir/usr/share/man/man8"
}