Last active
May 31, 2016 18:38
-
-
Save koppi/6d83b9d26bddb7a69475764124782973 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env bash | |
# | |
# Download, build and install https://github.com/stv0g/calcelestial | |
# | |
# Basic calcelestial usage examples with the at command: | |
# | |
# # make a beep at sunrise in Berlin | |
# echo "beep" | at $(calcelestial -m rise -p sun -q Berlin) | |
# | |
# # make a beep 10 minutes before sunset in Berlin | |
# echo "beep" | at $(date -d "-10 min $(calcelestial -m set -p sun -q Berlin)" +%H%M) | |
sudo apt -y install git autoconf automake libcurl4-openssl-dev libjson-c-dev libnova-dev | |
git clone https://github.com/stv0g/calcelestial | |
cd calcelestial/ | |
sh autogen.sh | |
./configure | |
make | |
sudo make install |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment