dot

packages and services management
Log | Files | Refs | README

commit e274d87d44ff794f8ae08cf0e7c91f81b87b3c02
parent a1ae87ec0bf71f97afa9be2bb9cf19971c9da47b
Author: josuah <mail@josuah.net>
Date:   Thu, 19 Jan 2017 17:38:44 +0100

Updated to handle separate build script

Diffstat:
M.profile | 2+-
MREADME | 13++++++++-----
2 files changed, 9 insertions(+), 6 deletions(-)

diff --git a/.profile b/.profile @@ -5,7 +5,7 @@ [ "$PROFILE" ] && return 0 || PROFILE=1 -. ~/.local/bin/build +[ -f ~/.local/bin/build ] && . ~/.local/bin/build export ENV="$HOME/.profile" export TERM='ansi' diff --git a/README b/README @@ -19,11 +19,6 @@ ________________________________________________________________________________ Scripts are in ./.local/bin. I wrote them to be compatible with any shell, and but for the shebang (android breaks everything). - build - Package manager that downloads, compiles, and installs - packages in ~/programs/<program_name>, and setup symlinks - to .local/ as a local root directory. - fig1, fig2 Single-file figlet implementation, with built-in fonts. @@ -64,4 +59,12 @@ m | mail ) printf '\033[A\r\033[K' chmod 400 "$HOME/.netrc" ;; + +b | build ) + tmp="$(mktemp -d)" && cd "$tmp" || exit 1 + wget -O - http://github.com/josuah/build/archive/master.tar.gz | + tar zxf - && cd build-master || exit 1 + make PREFIX="$HOME/.local" install + cd && rm -r "$tmp" + ;; esac