summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: be3d529dfa3e346a1165a2d3806990c6b24131e8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
# Maintainer: Tyler Veness <calcmogul at gmail dot com>

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
}