USER=santinic
PROJECT=how-2
#RELEASE=$(curl "https://api.github.com/repos/${USER}/${PROJECT}/tags?per_page=5" | jq -r '.[0] | .name')
#VERSION=VERSION=$( date +%Y-%m-%d_ )git
VERSION=1.0
#DOWNLOAD_DIR=/tmp
DEST=/var/tmp/${NPN_PROGRAM}-${VERSION}
mkdir -p /var/tmp/${DEST}

RSS_FEED="https://github.com/${USER}/${PROJECT}/releases.atom"
# xdg-open ${RSS_FEED}
echo ${RSS_FEED}

cat >description-pak <<EOF
stackoverflow from the terminal
EOF

cd ${DEST}
sudo checkinstall --fstrans=no bash -c "npm install -g ${NPM_PROGRAM} && npm install -S ${NPM_PROGRAM2}"
