diff --git a/srcpkgs/radare2-git/template b/srcpkgs/radare2-git/template new file mode 100644 index 00000000000..bffd0767c32 --- /dev/null +++ b/srcpkgs/radare2-git/template @@ -0,0 +1,21 @@ +# Template file for 'radare2-git' +# +# Do not create a -devel pkg; it's a full pkg explicitly. +pkgname=radare2-git +version=20140918 +revision=1 +build_style=gnu-configure +hostmakedepends="git" +short_desc="Advanced command line debugger and hexadecimal editor (git snapshot)" +maintainer="pancake " +license="LGPL-3" +homepage="http://radare.org" + +provides="radare2-${version}_${revision}" +replaces="radare2>=0 radare2-devel>=0" + +do_fetch() { + local url="git://github.com/radare/radare2" + msg_normal "Fetching source from $url ...\n" + git clone ${url} ${pkgname}-${version} +}