diff --git a/Dockerfile b/Dockerfile index 1cbff10..2a51e70 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,16 +1,5 @@ FROM ekidd/rust-musl-builder -RUN sudo apt-get update -y && sudo apt-get install -y \ - cmake \ - libgles2-mesa-dev \ - libglew-dev \ - libglfw3-dev \ - libglm-dev \ - libgtk-3-dev - -RUN git clone https://github.com/naelstrof/slop.git -RUN (cd slop; cmake -DCMAKE_INSTALL_PREFIX="/usr" ./ && make && sudo make install) - COPY . ./ RUN sudo chown -R rust:rust . diff --git a/README.md b/README.md index 4cf492b..1f39a24 100644 --- a/README.md +++ b/README.md @@ -3,18 +3,10 @@ screenshot Screenshot-capturing utility. -Bindings for `slop` have been generated by `bindgen`. - Installation ------------ -You need `slop` (select operation, not the ruby one) installed in order to build this. - -Make sure you have cargo installed. Then run - -``` -cargo install --git https://github.com/iptq/screenshot -``` +Check out the releases page. Example Integration ------------------- @@ -22,7 +14,7 @@ Example Integration ```bash #!/bin/bash SCREENSHOT=$HOME/.cargo/bin/screenshot -$SCREENSHOT $1 --clip --output "$HOME/Screenshots/Screenshot_%Y%m%d-%H:%M:%S.png" +$SCREENSHOT $1 --clipboard --output "$HOME/Screenshots/Screenshot_%Y%m%d-%H:%M:%S.png" ``` Building from Source @@ -41,4 +33,4 @@ Contact Author: Michael Zhang -License: GNU GPL v3 +License: MIT