void-packages/srcpkgs/radare2-git/template

36 lines
807 B
Text

# Template file for 'radare2-git'
pkgname=radare2-git
version="$(date -u +%Y%m%d)"
revision=2
build_style=gnu-configure
short_desc="Advanced command line debugger and hexadecimal editor (git snapshot)"
maintainer="pancake <pancake@nopcode.org>"
license="LGPL-3"
homepage="http://radare.org"
nofetch=yes
noextract=yes
do_fetch() {
local url="git://github.com/radare/radare2"
msg_normal "Fetching source from $url ...\n"
git clone ${url} ${pkgname}-${version}
}
radare2-devel-git_package() {
replaces="radare2-devel>=0"
provides="radare2-devel-9999"
depends="radare2-git>=$version"
short_desc="${short_desc} - development files"
pkg_install() {
vmove usr/include
vmove "usr/lib/*.a"
vmove usr/lib/pkgconfig
}
}
radare2-git_package() {
pkg_install() {
vmove usr
}
}