updated on Thu Jan 12 04:00:44 UTC 2012
[aur-mirror.git] / cue-go / PKGBUILD
bloba9d35ecc8e06c0e3d8505fd6a50883173b54e714
1 # Maintainer: Viacheslav Chumushuk <voice@root.ua>
3 pkgname=cue-go
4 pkgver=0.0
5 pkgrel=1
6 pkgdesc='cue is the cue-sheet parser implemented in Go language.'
7 arch=('i686' 'x86_64')
8 url='https://github.com/vchumushuk/cue-go'
9 license=('GPL3')
10 depends=('go')
11 source=('https://nodeload.github.com/vchumushuk/cue-go/tarball/72c7b24246')
12 md5sums=('9bf856ae39e673f2788f83e56e696c89')
13 options=(!strip)
15 build() {
16     . /etc/profile.d/go.sh
18     cd "$startdir/src" || return 1
19         mv vchumushuk-cue-go-72c7b24 "$pkgname-$pkgver" || return 1
20         cd "$pkgname-$pkgver"
22     make || return 1
23     make test || return 1
24     make DESTDIR="$startdir/pkg" arch-install || return 1