diff options
author | grufo | 2017-07-09 17:04:27 +0200 |
---|---|---|
committer | grufo | 2017-07-09 17:04:27 +0200 |
commit | 12de8bdbc8f393a9883ba9d4cf90adff8c6aab1f (patch) | |
tree | e3c04a0c00dce7284bb1c7a78c671fb82d7109af /tor-browser.install | |
download | aur-12de8bdbc8f393a9883ba9d4cf90adff8c6aab1f.tar.gz |
Create package
Diffstat (limited to 'tor-browser.install')
-rw-r--r-- | tor-browser.install | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/tor-browser.install b/tor-browser.install new file mode 100644 index 000000000000..7e331aaf1a5e --- /dev/null +++ b/tor-browser.install @@ -0,0 +1,39 @@ +pkgname='tor-browser' +_language='fa' + +pre_install() { + echo + echo "==> If you want to verify the gnupg signature you have to" + echo "==> import the proper public key first (Found on https://www.torproject.org/docs/signing-keys.html)." + echo "==> Choose one and use the following command to import it:" + echo "==> " + echo "==> gpg --recv-keys <keyid>" + echo "==> " + echo "==> After that, signature verifying should work." + echo +} + +post_install() { + echo + echo "==> ${pkgname} will be extracted to ~/.${pkgname}-${_language,,}" + echo "==> the first time you run ${pkgname} as your normal user!" + echo "==> Just start it and have fun." + echo +} + +post_upgrade() { + echo + echo "==> The ${pkgname} copy in your home directory will be upgraded at the" + echo "==> first time you run it as your normal user!" + echo "==> Just start and have fun." + echo +} + +post_remove() { + echo + echo "==> You have to remove the tor-brower directory in your home" + echo "==> directory by hand: As your normal user, do:" + echo "==> " + echo "==> rm -rf ~/.${pkgname}-${_language,,}" + echo +} |