# Template build file for 'xbps-src-utils'.
pkgname=xbps-src-utils
version=20140214
revision=1
build_style=configure
hostmakedepends="pkg-config"
makedepends="libxbps-devel"
short_desc="Various tools for xbps-src in C (like repo-checkvers)"
maintainer="davehome <davehome@redthumb.info.tm>"
homepage="https://github.com/davehome/xbps-src-utils"
license="GPL-2"

do_fetch() {
	local url="git://github.com/davehome/xbps-src-utils.git"
	msg_normal " Fetching source from $url ...\n"
	git clone ${url} ${pkgname}-${version}
}

do_configure() {
	./configure --prefix=/usr --etcdir=/etc
}
