# Template file for 'xbps-src'
pkgname=xbps-src
version=20131019
revision=2
bootstrap=yes
build_style=gnu-makefile
make_build_args="PREFIX=/usr ETCDIR=/etc/xbps"
make_install_args="PREFIX=/usr ETCDIR=/etc/xbps"
short_desc="The XBPS package system - binary package builder"
maintainer="Juan RP <xtraeme@gmail.com>"
homepage="http://code.google.com/p/xbps"
license="GPL-2"

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

xbps-src_package() {
	conf_files="/etc/xbps/xbps-src.conf"
	depends="bash xbps-triggers>=0.54 fakeroot"
	pkg_install() {
		vmove all
	}
}
