diff options
author | Caden Kline | 2018-04-05 20:22:35 -0400 |
---|---|---|
committer | Caden Kline | 2018-04-05 20:22:35 -0400 |
commit | a5becdd84404233574cb422d296adcb4ca29f149 (patch) | |
tree | 4e9f2ec142fec44c5bda984777c984d7f2b94c56 | |
parent | 406d8a705294a2b0ad7789283bd7e114ea9ccf09 (diff) | |
download | aur-a5becdd84404233574cb422d296adcb4ca29f149.tar.gz |
Auto sets LIBTRANSISTOR_HOME
also fixes x86_64 being set as the arch
-rw-r--r-- | .SRCINFO | 4 | ||||
-rw-r--r-- | PKGBUILD | 4 | ||||
-rw-r--r-- | libtransistor-git.install | 8 |
3 files changed, 9 insertions, 7 deletions
@@ -3,7 +3,7 @@ pkgbase = libtransistor-git pkgver = 1.1.0.r256.g383d582 pkgrel = 2 url = https://github.com/ReSwitched/libtransistor - arch = x86_64 + arch = any groups = base-devel license = ISC makedepends = git @@ -17,7 +17,7 @@ pkgbase = libtransistor-git conflicts = libtransistor-bin options = !strip options = !buildflags - source = git+https://github.com/ReSwitched/libtransistor.git + source = git+https://github.com/ReSwitched/libtransistor.git#branch=development md5sums = SKIP pkgname = libtransistor-git @@ -4,7 +4,7 @@ pkgname=libtransistor-git pkgver=1.1.0.r256.g383d582 pkgrel=2 pkgdesc="Nintendo Switch homebrew toolchain" -arch=('x86_64') +arch=('any') url="https://github.com/ReSwitched/libtransistor" license=('ISC') groups=('base-devel') @@ -18,7 +18,7 @@ makedepends=('git' provides=("libtransistor") conflicts=("libtransistor-bin") options=(!'strip' !'buildflags') -source=("git+https://github.com/ReSwitched/libtransistor.git") +source=("git+https://github.com/ReSwitched/libtransistor.git#branch=development") md5sums=("SKIP") prepare() diff --git a/libtransistor-git.install b/libtransistor-git.install index fe73121695b0..0012a1e72bbd 100644 --- a/libtransistor-git.install +++ b/libtransistor-git.install @@ -1,4 +1,6 @@ -post_install() -{ - echo "set LIBTRANSISTOR_HOME=/opt/libtransistor" +post_install() { + echo "export LIBTRANSISTOR_HOME=/opt/libtransistor" > /etc/profile.d/libtransistor.sh +} +post_remove(){ + rm /etc/profile.d/libtransistor.sh } |