summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorAidan Harris2017-02-13 01:50:40 +0000
committerAidan Harris2017-02-13 01:50:40 +0000
commit83e7b7ada264d6bf40701f9b7eb91fcaac3a7d48 (patch)
treee105f17e54d9eee7dc4473812d8c0251db576279
parent5a824aac8ed750a32ab919f5a191f0b9fb74b1fe (diff)
downloadaur-83e7b7ada264d6bf40701f9b7eb91fcaac3a7d48.tar.gz
Add usage instructions
-rw-r--r--PKGBUILD10
1 files changed, 9 insertions, 1 deletions
diff --git a/PKGBUILD b/PKGBUILD
index f64ea0b8c987..1cc12d4771dd 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,7 +2,7 @@
pkgname='undistract-me-git'
pkgver='r58.3c3054c'
-pkgrel=1
+pkgrel=2
arch=('any')
url="https://github.com/jml/undistract-me"
@@ -27,3 +27,11 @@ package() {
install -D -m644 "$srcdir/${pkgname%-git}/LICENSE" "$pkgdir/usr/share/licenses/${pkgname%-git}/LICENSE"
}
+
+post_install() {
+ echo "Don't forget to add \`source /usr/share/undistract-me/long-running.bash;notify_when_long_running_commands_finish_install\` to your .bashrc or .zshrc"
+ echo "You can do this automatically via the following command:"
+ echo "echo \"source /usr/share/undistract-me/long-running.bash\\\nnotify_when_long_running_commands_finish_install\" >> .bashrc"
+ echo "Or (for zsh):"
+ echo "echo \"source /usr/share/undistract-me/long-running.bash\\\nnotify_when_long_running_commands_finish_install\" >> .zshrc"
+}