Skip to content

Instantly share code, notes, and snippets.

@kobylyanets
Created December 19, 2015 13:31
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save kobylyanets/391e8cb0696db1039b32 to your computer and use it in GitHub Desktop.
Save kobylyanets/391e8cb0696db1039b32 to your computer and use it in GitHub Desktop.
#!/bin/bash -vx
sudo apt-get install build-essential cmake checkinstall libqt4-dev libgcrypt-dev libxtst-dev
export QT_SELECT=qt4
cd /tmp/ && wget https://www.keepassx.org/releases/2.0/keepassx-2.0.tar.gz && tar xzvf keepassx-2.0.tar.gz
cd keepassx-2.0/ && mkdir build && cd build/
cmake .. -DCMAKE_INSTALL_PREFIX=/usr/local
sudo checkinstall --pkgname keepassx
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment