Skip to content

Commit

Permalink
Create PKGBUILD
Browse files Browse the repository at this point in the history
  • Loading branch information
superyu1337 committed Jul 5, 2022
1 parent dd37842 commit 072f285
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 072f285

Please sign in to comment.