Squashed commit of the following:

commit 6698559b2f21ee21bb802164c6983c1985505d43
Author: Attila Oláh <attilaolah@gmail.com>
Date:   Fri Jul 25 09:46:24 2014 +0200

    do not use a function, it sucks when returning arrays

commit b5293f6386760e8dfc24ceff0d0ee9956c034ac7
Author: Attila Oláh <attilaolah@gmail.com>
Date:   Fri Jul 25 09:32:54 2014 +0200

    use single quotes

commit 493060863f3d0a7bdbbc395e35f47edb7d8a75d5
Author: Attila Oláh <attilaolah@gmail.com>
Date:   Fri Jul 25 09:29:30 2014 +0200

    fix tag order

commit 799340fb4b0f1c3a5c5518dfc68a0a8a1ecb4d38
Author: Attila Oláh <attilaolah@gmail.com>
Date:   Fri Jul 25 09:23:29 2014 +0200

    boy, my bash is so rusty

commit 000fb4e45b5c48879eb982d1a02e161fcea70544
Author: Attila Oláh <attilaolah@gmail.com>
Date:   Fri Jul 25 09:20:31 2014 +0200

    fix build_flags function

commit b0aa2076563116983866345114cd65ab828bb19a
Author: Attila Oláh <attilaolah@gmail.com>
Date:   Fri Jul 25 09:14:40 2014 +0200

    use GO_GIT_DESCRIBE_SYMBOL

commit dc5e568fcb669a5dd2cd692c4899cb2dbede1403
Merge: cd3ebcd 43f7b5f
Author: Attila Oláh <attilaolah@gmail.com>
Date:   Wed Jul 23 12:50:20 2014 +0200

    Merge branch 'master' of git://github.com/kr/heroku-buildpack-go

    Conflicts:
    	bin/compile

commit cd3ebcd125a1ab19ea3076e259883218af8514d7
Author: Attila Oláh <attilaolah@gmail.com>
Date:   Mon Jul 21 10:44:38 2014 +0200

    export GIT_DIR as HEROKU_GIT_DIR so the makefile can use it

commit c770426d3e9913fbefeed6a56c15e9c71e691bd8
Author: Attila Oláh <attilaolah@gmail.com>
Date:   Fri Jul 18 21:07:38 2014 +0200

    but only if there is a heroku target

commit 948938dfcee14b0f0c57b6c17281ad3058c07513
Author: Attila Oláh <attilaolah@gmail.com>
Date:   Fri Jul 18 20:49:11 2014 +0200

    allow custom build process if there is a makefile