aboutsummaryrefslogtreecommitdiffstats
path: root/community/glide
diff options
context:
space:
mode:
authorCarlo Landmeter <clandmeter@gmail.com>2016-08-01 09:41:45 +0200
committerCarlo Landmeter <clandmeter@gmail.com>2016-08-01 09:41:45 +0200
commit997bfb0893b39b25c77ebbba0ca1d6779aac4bec (patch)
tree7b7e6e4bd6ef4578e16ab5a1b3cb406e46171982 /community/glide
parent10c0bb8397a231f8a6f1db280e67de7bf7668005 (diff)
downloadaports-997bfb0893b39b25c77ebbba0ca1d6779aac4bec.tar.bz2
aports-997bfb0893b39b25c77ebbba0ca1d6779aac4bec.tar.xz
testing/glide: move to community
Diffstat (limited to 'community/glide')
-rw-r--r--community/glide/APKBUILD36
1 files changed, 36 insertions, 0 deletions
diff --git a/community/glide/APKBUILD b/community/glide/APKBUILD
new file mode 100644
index 0000000000..101757719f
--- /dev/null
+++ b/community/glide/APKBUILD
@@ -0,0 +1,36 @@
+# Contributor: Aaron Hurt <ahurt@ena.com>
+# Maintainer: Aaron Hurt <ahurt@ena.com>
+pkgname="glide"
+pkgver="0.11.1"
+pkgrel=0
+pkgdesc="Vendor Package Management for Golang"
+url="https://github.com/Masterminds/glide"
+arch="all"
+license="MIT"
+depends=""
+makedepends="go"
+install=""
+subpackages=""
+source="$pkgname-$pkgver.tar.gz::https://github.com/Masterminds/glide/archive/v$pkgver.tar.gz"
+builddir="$srcdir/go/src/github.com/Masterminds/glide"
+options="!strip"
+
+prepare() {
+ mkdir -p "$srcdir/go/src/github.com/Masterminds"
+ mv "$srcdir/$pkgname-$pkgver" "$builddir"
+}
+
+build() {
+ export GOPATH="$srcdir/go"
+ cd "$builddir"
+ go build -o glide -ldflags "-X main.version=$pkgver" glide.go || return 1
+}
+
+package() {
+ cd "$builddir"
+ install -sD -m 755 glide "$pkgdir"/usr/bin/glide
+}
+
+md5sums="8867fdf5cd75359d71091a2566f103e9 glide-0.11.1.tar.gz"
+sha256sums="3c4958d1ab9446e3d7b2dc280cd43b84c588d50eb692487bcda950d02b9acc4c glide-0.11.1.tar.gz"
+sha512sums="1b60c3b357aed24fffb3e1d1ab777c2208549e9311fbf8939a4bce2612a42da5f2d218380c1f0359c0de6f34ad7c1d8040e4300fd38bf7820fa6122e94c37bdf glide-0.11.1.tar.gz"