diff options
author | Danny Su | 2015-12-23 13:53:50 -0800 |
---|---|---|
committer | Danny Su | 2015-12-23 13:53:50 -0800 |
commit | f1ab739357096cdb0436012ba4a616c041e48269 (patch) | |
tree | 1ba73be4d375fd0949d730b2baa5d18a2bf524a5 | |
parent | ac6329d6263a8160db3b1149cae39b47d4ce6b97 (diff) | |
download | aur-f1ab739357096cdb0436012ba4a616c041e48269.tar.gz |
Repackage without systemd service
-rw-r--r-- | .SRCINFO | 4 | ||||
-rw-r--r-- | PKGBUILD | 7 | ||||
-rw-r--r-- | tresorit.install | 5 | ||||
-rw-r--r-- | tresorit_user.service | 10 |
4 files changed, 5 insertions, 21 deletions
@@ -1,9 +1,9 @@ # Generated by mksrcinfo v8 -# Mon Dec 21 18:45:20 UTC 2015 +# Wed Dec 23 21:53:35 UTC 2015 pkgbase = tresorit pkgdesc = Encrypted cloud storage for your confidential files. Using Tresorit, files are encrypted before being uploaded to the cloud. Start encrypting files for free. pkgver = 1.0.125.402 - pkgrel = 1 + pkgrel = 2 url = http://www.tresorit.com/ install = tresorit.install arch = i686 @@ -2,7 +2,7 @@ pkgname=tresorit pkgver=1.0.125.402 -pkgrel=1 +pkgrel=2 pkgdesc='Encrypted cloud storage for your confidential files. Using Tresorit, files are encrypted before being uploaded to the cloud. Start encrypting files for free.' arch=('i686' 'x86_64') url="http://www.tresorit.com/" @@ -30,13 +30,10 @@ package() { cp -r ./tresorit/tresorit_x86/* "$pkgdir/opt/tresorit" fi - echo "Exec=\$HOME/.local/share/tresorit/tresorit" >> "${pkgdir}"/opt/tresorit/tresorit.desktop + echo "Exec=\$HOME/.local/share/tresorit/tresorit --hidden" >> "${pkgdir}"/opt/tresorit/tresorit.desktop echo "Icon=/opt/tresorit/tresorit.png" >> "${pkgdir}"/opt/tresorit/tresorit.desktop mkdir -p "${pkgdir}"/usr/share/licenses/tresorit ln -s /opt/tresorit/LICENSES.txt \ "${pkgdir}"/usr/share/licenses/tresorit/LICENSE - - # install systemd units - install -Dm644 ../tresorit_user.service "${pkgdir}"/usr/lib/systemd/user/tresorit.service } diff --git a/tresorit.install b/tresorit.install index d6f23de04e72..c4f4fa334211 100644 --- a/tresorit.install +++ b/tresorit.install @@ -9,10 +9,7 @@ NOTE: You need to run the script below to finish setting things up for your user /opt/tresorit/archlinux_user_install - -To reload user systemd modules: systemctl --user daemon-reload -To start tresorit manually: systemctl --user start tresorit -To autostart tresorit on user login: systemctl --user enable tresorit +It'll install tresorit to ~/.local/share/tresorit directory for the user you run it as. EOF } diff --git a/tresorit_user.service b/tresorit_user.service deleted file mode 100644 index 5869cccf965a..000000000000 --- a/tresorit_user.service +++ /dev/null @@ -1,10 +0,0 @@ -[Unit] -Description=Tresorit per-user service -After=network.target - -[Service] -ExecStart=/opt/tresorit/systemd_runner -Restart=on-abort - -[Install] -WantedBy=default.target |