diff --git a/bash/zncconfigure.bash b/bash/zncconfigure.bash new file mode 100755 index 0000000..064ffc1 --- /dev/null +++ b/bash/zncconfigure.bash @@ -0,0 +1,10 @@ +#!/usr/bin/env bash +cd znc +./autogen.sh +mkdir -p build +cd build +# PYENV (two lines) +export LD_LIBRARY_PATH=/home/users/mkaysi/.pyenv/versions/3.4.1/lib +export PKG_CONFIG_PATH=/home/users/mkaysi/.pyenv/versions/3.4.1/lib/pkgconfig/ +../configure --enable-debug --enable-perl --enable-python --enable-swig --enable-tcl --disable-cyrus --prefix=$HOME/.local +make -j$(nproc) diff --git a/bash/zncmodules.bash b/bash/zncmodules.bash new file mode 100755 index 0000000..eff4a79 --- /dev/null +++ b/bash/zncmodules.bash @@ -0,0 +1,19 @@ +#!/usr/bin/env bash +# This script downloads external ZNC modules which I use. +cd znc +cd modules +echo "Downloading kvirc.cpp" +curl -LO https://raw.githubusercontent.com/DarthGandalf/znc/dgmods/modules/kvirc.cpp +#echo "Downloading otr.cpp" +#curl -LO https://raw.githubusercontent.com/mmilata/znc-otr/master/otr.cpp +echo "Downloading privmsg.cpp" +curl -LO https://raw.githubusercontent.com/kylef/znc-contrib/master/privmsg.cpp + +# ~/.znc/modules +mkdir -p ~/.znc/modules +cd ~/.znc/modules +echo "Downloading push.py" +curl -LO https://raw.githubusercontent.com/jreese/znc-push/python/push.py + +echo "You can now run zncconfigure.bash" +