Overhaul coreboot stuff
This commit is contained in:
parent
d7c3f7b5b9
commit
4835e3dce8
3
.gitignore
vendored
Normal file
3
.gitignore
vendored
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
arch/*/pkg/
|
||||||
|
arch/*/src/
|
||||||
|
arch/*/*.pkg.tar.*
|
@ -1,3 +1 @@
|
|||||||
pkg
|
|
||||||
src
|
|
||||||
coreboot-configurator*
|
coreboot-configurator*
|
@ -1,30 +1,33 @@
|
|||||||
# Maintainer: Alexander Rosenberg <zanderpkg at pm dot me>
|
# Maintainer: Alexander Rosenberg <zanderpkg at pm dot me>
|
||||||
|
|
||||||
pkgname=coreboot-configurator
|
_pkgname=coreboot-configurator
|
||||||
pkgver=54
|
pkgname=$_pkgname-git
|
||||||
|
pkgver=11.0.gb27400d
|
||||||
pkgrel=1
|
pkgrel=1
|
||||||
pkgdesc="A simple GUI to change settings in coreboot's CBFS, via the nvramtool utility."
|
pkgdesc="A simple GUI to change settings in coreboot's CBFS, via the nvramtool utility."
|
||||||
url='https://github.com/StarLabsLtd/coreboot-configurator'
|
url='https://github.com/StarLabsLtd/coreboot-configurator'
|
||||||
arch=('x86_64')
|
arch=('x86_64')
|
||||||
|
provides=("$_pkgname")
|
||||||
license=('GPL2')
|
license=('GPL2')
|
||||||
depends=('nvramtool' 'yaml-cpp' 'meson' 'qt5-base' 'ninja')
|
makedepends=('ninja' 'meson' 'git')
|
||||||
|
depends=('nvramtool' 'yaml-cpp' 'qt5-base')
|
||||||
source=('git+https://github.com/StarLabsLtd/coreboot-configurator.git')
|
source=('git+https://github.com/StarLabsLtd/coreboot-configurator.git')
|
||||||
sha256sums=('SKIP')
|
sha256sums=('SKIP')
|
||||||
|
|
||||||
pkgver(){
|
pkgver(){
|
||||||
cd "$pkgname"
|
cd "$_pkgname"
|
||||||
git rev-list --count HEAD
|
git describe --tags --long | sed 's#-#.#g'
|
||||||
}
|
}
|
||||||
|
|
||||||
build() {
|
build() {
|
||||||
cd "$pkgname"
|
cd "$_pkgname"
|
||||||
|
|
||||||
meson setup build/
|
meson setup build/
|
||||||
ninja -C build all
|
ninja -C build all
|
||||||
}
|
}
|
||||||
|
|
||||||
package() {
|
package() {
|
||||||
cd "$pkgname"
|
cd "$_pkgname"
|
||||||
|
|
||||||
export DESTDIR="$pkgdir"
|
export DESTDIR="$pkgdir"
|
||||||
ninja -C build install
|
ninja -C build install
|
1
arch/nvramtool-git/.gitignore
vendored
1
arch/nvramtool-git/.gitignore
vendored
@ -1,2 +1 @@
|
|||||||
coreboot/
|
coreboot/
|
||||||
nvramtool-*
|
|
||||||
|
@ -1,24 +1,25 @@
|
|||||||
# Maintainer: Alexander Rosenberg <zanderpkg at pm dot me>
|
# Maintainer: Alexander Rosenberg <zanderpkg at pm dot me>
|
||||||
|
|
||||||
pkgname='nvramtool-git'
|
_pkgname='nvramtool'
|
||||||
pkgver=52843
|
pkgname=$_pkgname-git
|
||||||
|
pkgver=4.20.77.ga398b31108
|
||||||
pkgrel=1
|
pkgrel=1
|
||||||
pkgdesc='Coreboot cli utility for modifying NVRAM'
|
pkgdesc='Coreboot cli utility for modifying NVRAM'
|
||||||
url='https://coreboot.org'
|
url='https://coreboot.org'
|
||||||
arch=('x86_64')
|
arch=('x86_64')
|
||||||
license=('GPL2')
|
license=('GPL2')
|
||||||
provides=('nvramtool')
|
provides=('nvramtool')
|
||||||
source=('git+https://review.coreboot.org/coreboot.git')
|
makedepends=('git')
|
||||||
|
source=('git+https://github.com/coreboot/coreboot.git')
|
||||||
sha256sums=('SKIP')
|
sha256sums=('SKIP')
|
||||||
|
|
||||||
pkgver(){
|
pkgver(){
|
||||||
cd "coreboot"
|
cd "coreboot"
|
||||||
git rev-list --count HEAD
|
git describe --tags --long | sed 's#-#.#g'
|
||||||
}
|
}
|
||||||
|
|
||||||
build() {
|
build() {
|
||||||
cd "coreboot/util/nvramtool"
|
make -C 'coreboot/util/nvramtool'
|
||||||
make
|
|
||||||
}
|
}
|
||||||
|
|
||||||
package() {
|
package() {
|
||||||
|
Loading…
Reference in New Issue
Block a user