Skip to content

Commit

Permalink
Merge pull request #3 from superyu1337/main
Browse files Browse the repository at this point in the history
Create PKGBUILD
  • Loading branch information
budde25 authored Jul 7, 2022
2 parents e966fe7 + db69eee commit f616a3c
Showing 1 changed file with 25 additions and 0 deletions.
25 changes: 25 additions & 0 deletions PKGBUILD
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/"
}

0 comments on commit f616a3c

Please sign in to comment.