# Description:  FIFO based tox client (git version)
# URL:  http://ratox.2f30.org
# Maintainer:  z3bra, dev at z3bra dot org
# Depends on:  c-toxcore

name=ratox
version=git-2ba1220
release=1
source=()

gitsource=git://git.2f30.org/ratox

build() {
	cd $PKGMK_SOURCE_DIR

	if cd $name; then
		git reset --hard
		git pull $gitsource
	else
		git clone $gitsource $name
		cd $name
	fi

	git checkout $sversion

	make DESTDIR=$PKG PREFIX=/usr MANPREFIX=/usr/share/man install
}
