# Maintainer: Tyler Veness pkgname=arm-frc-linux-gnueabi-frcmake-hg pkgver=r97.5de14e5bbf2c pkgrel=3 pkgdesc="Wrapper scripts for using CMake with the FRC toolchain" arch=('any') url="https://bitbucket.org/byteit101/toolchain-builder/" license=('GPL') makedepends=('mercurial') provides=('arm-frc-linux-gnueabi-frcmake') groups=('frc-toolchain') depends=('cmake') _hgrepo='toolchain-builder' source=(hg+https://bitbucket.org/byteit101/"$_hgrepo") sha512sums=('SKIP') pkgver() { cd "$srcdir/$_hgrepo" printf "r%s.%s" "$(hg identify -n)" "$(hg identify -i)" } package() { cd "$srcdir/$_hgrepo/tools" make -f frcmake-nix-makefile DESTDIR="$pkgdir" install || return 1 }