Added some stuff
This commit is contained in:
parent
55d64430d9
commit
0a10d7d620
3
arch/coreboot-configurator/.gitignore
vendored
Normal file
3
arch/coreboot-configurator/.gitignore
vendored
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
pkg
|
||||||
|
src
|
||||||
|
coreboot-configurator*
|
31
arch/coreboot-configurator/PKGBUILD
Normal file
31
arch/coreboot-configurator/PKGBUILD
Normal 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
3
arch/license-tool/.gitignore
vendored
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
pkg
|
||||||
|
src
|
||||||
|
license-tool*
|
29
arch/license-tool/PKGBUILD
Normal file
29
arch/license-tool/PKGBUILD
Normal 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"
|
||||||
|
}
|
Loading…
Reference in New Issue
Block a user