forked from budde25/switcheroo
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #3 from superyu1337/main
Create PKGBUILD
- Loading branch information
Showing
1 changed file
with
25 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
# Maintainer: Janek S. <development@superyu.xyz> | ||
pkgname='switcheroo-git' | ||
_pkgname='switcheroo' | ||
pkgver='0.1.0' | ||
pkgrel=1 | ||
pkgdesc='A cross platform, rust implementation for the Tegra X1 bootROM exploit.' | ||
url='https://github.com/budde25/switcheroo' | ||
source=('git+https://github.com/budde25/switcheroo.git') | ||
arch=('x86_64') | ||
license=('GPL2') | ||
makedepends=('git' 'cargo') | ||
depends=('glibc') | ||
conflicts=('switcheroo') | ||
provides=('switcheroo') | ||
sha256sums=(SKIP) | ||
|
||
build() { | ||
cd $_pkgname | ||
cargo build --release | ||
} | ||
|
||
package() { | ||
install -Dm755 "$srcdir/$_pkgname/target/release/switcheroo" "$pkgdir/usr/bin/switcheroo" | ||
install -Dm644 "$srcdir/$_pkgname/extra/linux/io.ebudd.Switcheroo.desktop" -t "$pkgdir/usr/share/applications/" | ||
} |