blob: 4a4df3dfb9b54af1ecd217592483618d36ff9dc4 (
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
27
28
29
30
31
32
|
# Contributor: Carlo Landmeter <clandmeter@gmail.com>
# Maintainer:
pkgname=godep
pkgver=78
pkgrel=0
pkgdesc="Dependency tool for go"
url="http://github.com/tools/godep"
arch="all !ppc64le"
license="BSD"
makedepends="go"
source="$pkgname-$pkgver.tar.gz::https://github.com/tools/$pkgname/archive/v$pkgver.tar.gz"
builddir="$srcdir/src/github.com/tools/$pkgname"
prepare() {
mkdir -p "${builddir%/*}"
mv "$srcdir"/$pkgname-$pkgver "$builddir" || return 1
default_prepare
}
build() {
cd "$builddir"
GOPATH="$srcdir" go build
}
package() {
install -D -m 755 "$builddir"/$pkgname "$pkgdir"/usr/bin/godep
}
md5sums="57743797051d9a819133f3acab8e4806 godep-78.tar.gz"
sha256sums="247cbebffff1a5e077287cc7e2f84ca30266f9e535d1182823ececf9bf37b18a godep-78.tar.gz"
sha512sums="dd98d0bd7194a0c530d81982b3681c6a97dfa75668a3cfa9395ddce5921c437f958ab757fd7e19d7ff0a6fc339c16cf35f1844a857c54a905af99bc69d2a3b83 godep-78.tar.gz"
|