Added some stuff

This commit is contained in:
Alexander Rosenberg 2023-05-01 16:38:29 -07:00
parent 55d64430d9
commit 0a10d7d620
Signed by: Zander671
GPG Key ID: 5FD0394ADBD72730
4 changed files with 66 additions and 0 deletions

3
arch/coreboot-configurator/.gitignore vendored Normal file
View File

@ -0,0 +1,3 @@
pkg
src
coreboot-configurator*

View File

@ -0,0 +1,31 @@
# Maintainer: Alexander Rosenberg <zanderpkg at pm dot me>
pkgname=coreboot-configurator
pkgver=51
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')
license=('GPL2')
depends=('coreboot-utils-git' 'yaml-cpp' 'meson' 'qt5-base' 'ninja')
source=('git+https://github.com/StarLabsLtd/coreboot-configurator.git')
sha256sums=('SKIP')
pkgver(){
cd "$pkgname"
git rev-list --count HEAD
}
build() {
cd "$pkgname"
meson setup build/
ninja -C build all
}
package() {
cd "$pkgname"
export DESTDIR="$pkgdir"
ninja -C build install
}

3
arch/license-tool/.gitignore vendored Normal file
View File

@ -0,0 +1,3 @@
pkg
src
license-tool*

View File

@ -0,0 +1,29 @@
# Maintainer: Alexander Rosenberg <zanderpkg at pm dot me>
pkgname='license-tool'
pkgver=5
pkgrel=1
pkgdesc='A simple tool for creating LICENSE files'
url='https://git.zander.im/Zander671/license-tool'
arch=('x86_64')
license=('GPL3')
depends=('rust')
source=('git+https://git.zander.im/Zander671/license-tool.git')
sha256sums=('SKIP')
pkgver(){
cd "$pkgname"
git rev-list --count HEAD
}
build() {
cd "$pkgname"
export GLOBAL_DATA_PATH='/usr/share/license-tool/'
cargo build --release
}
package() {
install -Dt "$pkgdir/usr/bin/" "$pkgname/target/release/license-tool"
mkdir -p "$pkgdir/usr/share/"
cp -r "$pkgname/licenses" "$pkgdir/usr/share/license-tool"
}