#!/bin/zsh
mkdir -p $HOME/local/{bin,etc,include,lib,src,tmp}
export $PATH=$PATH:$HOME/local/bin
export $PKG_CONFIG_PATH=$PKG_CONFIG_PATH:$HOME/lib/pkgconfig
(cd $HOME/local/etc && git init) #link ~/.profile and such here
Faça seu desenvolvimento $HOME/local/src
e instale com o prefixo $HOME/local
.