diff options
author | Carlo Landmeter <clandmeter@gmail.com> | 2016-11-07 20:44:00 +0100 |
---|---|---|
committer | Carlo Landmeter <clandmeter@gmail.com> | 2016-11-07 21:26:56 +0100 |
commit | 7aebc605434581483d3164606ffc6cbe9743b33a (patch) | |
tree | 52750f6c414fc60130942ecf6e33c5ff2ded5c14 /testing | |
parent | d69a3769efaffaac75b59cf9baffca9ca78ee6f6 (diff) | |
download | aports-7aebc605434581483d3164606ffc6cbe9743b33a.tar.bz2 aports-7aebc605434581483d3164606ffc6cbe9743b33a.tar.xz |
testing/govendor: new aport
Diffstat (limited to 'testing')
-rw-r--r-- | testing/govendor/APKBUILD | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/testing/govendor/APKBUILD b/testing/govendor/APKBUILD new file mode 100644 index 0000000000..1cb56e77fa --- /dev/null +++ b/testing/govendor/APKBUILD @@ -0,0 +1,36 @@ +# Contributor: Carlo Landmeter <clandmeter@gmail.com> +# Maintainer: +pkgname=govendor +pkgver=1.0.8 +pkgrel=0 +pkgdesc="Go vendor tool that works with the standard vendor file" +url="https://github.com/kardianos/govendor" +arch="all" +license="BSD" +depends="" +makedepends="go" +install="" +subpackages="" +source="govendor-$pkgver.tar.gz::https://github.com/kardianos/govendor/archive/v$pkgver.tar.gz" +builddir="$srcdir/github.com/kardianos/$pkgname" + + +prepare() { + mkdir -p ${builddir%/*} + mv "$srcdir"/$pkgname-$pkgver "$builddir"/ || return 1 + default_prepare +} + +build() { + cd "$builddir" + export GOPATH="$startdir" + go build +} + +package() { + install -Dm755 "$builddir"/govendor "$pkgdir"/usr/bin/govendor +} + +md5sums="a1803965b7f39f1ece9347c1c5cdb333 govendor-1.0.8.tar.gz" +sha256sums="7e887b84c7a9278473f39ae8a74440ffc17b329aa193e9304d170d458f8785c7 govendor-1.0.8.tar.gz" +sha512sums="ef9fd65507bef66a4b00ef77a288a2f0e8bf77c58dac1b90846705ac63b3fb6fad76adc88b95f36612d0cb3b27f75fa2e6554054456d8ef0bbb00726258ced3a govendor-1.0.8.tar.gz" |