mirror of
https://github.com/moparisthebest/arch-ppa
synced 2024-12-21 22:18:48 -05:00
Add fusee-launcher-git
This commit is contained in:
parent
d25a9c244d
commit
069303f73b
33
src/fusee-launcher-git/PKGBUILD
Normal file
33
src/fusee-launcher-git/PKGBUILD
Normal 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}"
|
||||||
|
}
|
2
src/fusee-launcher-git/runner.sh
Normal file
2
src/fusee-launcher-git/runner.sh
Normal file
@ -0,0 +1,2 @@
|
|||||||
|
#!/bin/sh
|
||||||
|
python3 '/opt/fusee-launcher/fusee-launcher.py' "$@"
|
Loading…
Reference in New Issue
Block a user