diff options
author | Caden Kline | 2018-04-05 20:28:39 -0400 |
---|---|---|
committer | Caden Kline | 2018-04-05 20:28:39 -0400 |
commit | 020f8aed623ef7db2991920a4eef5ebb5a5a5b6a (patch) | |
tree | 1ee0382ffcda9fab799eed5145de2086542945b3 | |
parent | 82e84338fa40d9a0eb59e52b03172df20cf52411 (diff) | |
download | aur-020f8aed623ef7db2991920a4eef5ebb5a5a5b6a.tar.gz |
auto set LIBTRANSISTOR_HOME
-rw-r--r-- | .SRCINFO | 2 | ||||
-rw-r--r-- | PKGBUILD | 2 | ||||
-rw-r--r-- | libtransistor-bin.install | 7 |
3 files changed, 7 insertions, 4 deletions
@@ -4,7 +4,7 @@ pkgbase = libtransistor-bin pkgrel = 1 url = https://github.com/reswitched/libtransistor install = libtransistor-bin.install - arch = x86_64 + arch = any groups = base-devel license = ISC makedepends = git @@ -10,7 +10,7 @@ pkgver=v1.2.2 pkgrel=1 epoch= pkgdesc="Nintendo Switch homebrew toolchain" -arch=('x86_64') +arch=('any') url="https://github.com/reswitched/libtransistor" license=('ISC') groups=('base-devel') diff --git a/libtransistor-bin.install b/libtransistor-bin.install index 20e7729c9871..0012a1e72bbd 100644 --- a/libtransistor-bin.install +++ b/libtransistor-bin.install @@ -1,3 +1,6 @@ post_install() { - echo "set LIBTRANSITOR_HOME=/opt/libtransistor/" -}
\ No newline at end of file + echo "export LIBTRANSISTOR_HOME=/opt/libtransistor" > /etc/profile.d/libtransistor.sh +} +post_remove(){ + rm /etc/profile.d/libtransistor.sh +} |