1
0
mirror of https://github.com/moparisthebest/arch-ppa synced 2024-12-21 14:08:48 -05:00

Add fusee-launcher-git

This commit is contained in:
Travis Burtrum 2019-11-20 18:11:01 -05:00
parent d25a9c244d
commit 069303f73b
2 changed files with 35 additions and 0 deletions

View File

@ -0,0 +1,33 @@
# Maintainer: rouhannb <rouhannb@gmail.com>
pkgname=fusee-launcher-git
pkgver=1.0.r2.g3b1b2bc
pkgrel=1
pkgdesc='work-in-progress launcher for one of the Tegra X1 bootROM exploits'
arch=('any')
url="https://github.com/Cease-and-DeSwitch/${pkgname%-git}"
license=('GPL2')
depends=('python-pyusb')
makedepends=('git' 'arm-none-eabi-gcc')
provides=("${pkgname%-git}")
conflicts=("${pkgname%-git}")
source=('git+https://github.com/Cease-and-DeSwitch/fusee-launcher.git' 'runner.sh')
md5sums=('SKIP' '1d81a0959d6f81c94caca58d3496ba7b')
pkgver() {
cd "$srcdir/${pkgname%-git}"
git describe --long --tags | sed 's/\([^-]*-g\)/r\1/;s/-/./g'
}
# This isn't truly necessary, as fusee-launcher comes with a precompiled
# intermezzo.bin. Running makepkg with --nobuild should work fine.
build() {
cd "$srcdir/${pkgname%-git}"
make
}
package() {
cd "$srcdir/${pkgname%-git}"
install -Dm644 -t "$pkgdir/opt/${pkgname%-git}" "${pkgname%-git}.py"
install -m644 -t "$pkgdir/opt/${pkgname%-git}" 'intermezzo.bin'
install -D "$srcdir/runner.sh" "$pkgdir/usr/bin/${pkgname%-git}"
}

View File

@ -0,0 +1,2 @@
#!/bin/sh
python3 '/opt/fusee-launcher/fusee-launcher.py' "$@"