summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorshmilee2017-06-30 18:55:37 +0800
committershmilee2017-06-30 18:55:37 +0800
commit81f65d65a0b2e650b2ad7b2908f6fcba8870163b (patch)
tree87d52bfd77e6495ed213fa0f268c57f265319758
parent83d9cec2cc8cf69582cc3ef34b687e133fa1dd5f (diff)
downloadaur-81f65d65a0b2e650b2ad7b2908f6fcba8870163b.tar.gz
update 0.5.0
-rw-r--r--.SRCINFO29
-rw-r--r--PKGBUILD57
2 files changed, 11 insertions, 75 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 794092c53af..d9d592d8933 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,37 +1,16 @@
# Generated by mksrcinfo v8
-# 二 9月 20 13:43:19 UTC 2016
+# Fri Jun 30 10:51:16 UTC 2017
pkgbase = dockviz
pkgdesc = Visualizing Docker Data
- pkgver = 0.4.2
+ pkgver = 0.5.0
pkgrel = 1
url = https://github.com/justone/dockviz
arch = x86_64
license = Apache
- makedepends = go
- makedepends = git
depends = glibc
depends = docker
- noextract = net.tar.gz
- source = https://github.com/justone/dockviz/archive/v0.4.2.tar.gz
- source = docker.tar.gz::https://github.com/docker/docker/archive/master.tar.gz
- source = git+https://github.com/docker/engine-api
- source = git+https://github.com/docker/go-units
- source = runc.tar.gz::https://github.com/opencontainers/runc/archive/master.tar.gz
- source = git+https://github.com/jessevdk/go-flags
- source = git+https://github.com/Sirupsen/logrus
- source = git+https://github.com/fsouza/go-dockerclient
- source = git+https://github.com/hashicorp/go-cleanhttp
- source = net.tar.gz::https://go.googlesource.com/net/+archive/master.tar.gz
- sha1sums = 644e94a802a1ee0d8596b4686553d6d3b5851123
- sha1sums = SKIP
- sha1sums = SKIP
- sha1sums = SKIP
- sha1sums = SKIP
- sha1sums = SKIP
- sha1sums = SKIP
- sha1sums = SKIP
- sha1sums = SKIP
- sha1sums = SKIP
+ source = dockviz-0.5.0::https://github.com/justone/dockviz/releases/download/v0.5.0/dockviz_linux_amd64
+ sha1sums = eb4d302fb83116e7b487cef0eb0bb1ffc1eb6146
pkgname = dockviz
diff --git a/PKGBUILD b/PKGBUILD
index dfbefe4d949..980b3294acf 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,63 +1,20 @@
# Maintainer: shmilee <echo c2htaWxlZS56anVAZ21haWwuY29tCg== | base64 -d>
+_binfile=dockviz_linux_amd64
+
pkgname=dockviz
-pkgver=0.4.2
+pkgver=0.5.0
pkgrel=1
pkgdesc="Visualizing Docker Data"
arch=('x86_64')
url="https://github.com/justone/dockviz"
license=('Apache')
depends=('glibc' 'docker')
-makedepends=('go' 'git')
options=()
-source=("https://github.com/justone/$pkgname/archive/v$pkgver.tar.gz"
- "docker.tar.gz::https://github.com/docker/docker/archive/master.tar.gz"
- "git+https://github.com/docker/engine-api"
- "git+https://github.com/docker/go-units"
- "runc.tar.gz::https://github.com/opencontainers/runc/archive/master.tar.gz"
- "git+https://github.com/jessevdk/go-flags"
- "git+https://github.com/Sirupsen/logrus"
- "git+https://github.com/fsouza/go-dockerclient"
- "git+https://github.com/hashicorp/go-cleanhttp"
- "net.tar.gz::https://go.googlesource.com/net/+archive/master.tar.gz")
-
-noextract=("net.tar.gz")
-sha1sums=('644e94a802a1ee0d8596b4686553d6d3b5851123'
- 'SKIP'
- 'SKIP'
- 'SKIP'
- 'SKIP'
- 'SKIP'
- 'SKIP'
- 'SKIP'
- 'SKIP'
- 'SKIP')
-
-prepare() {
- cd "$pkgname-$pkgver"
- [ -d src ] && rm -r src/
- mkdir -p src/github.com/{docker,opencontainers,jessevdk,Sirupsen,fsouza,hashicorp}
- ln -s "$srcdir/docker-master" src/github.com/docker/docker
- ln -s "$srcdir/engine-api" src/github.com/docker/engine-api
- ln -s "$srcdir/go-units" src/github.com/docker/go-units
- ln -s "$srcdir/runc-master" src/github.com/opencontainers/runc
- ln -s "$srcdir/go-flags" src/github.com/jessevdk/go-flags
- ln -s "$srcdir/logrus" src/github.com/Sirupsen/logrus
- ln -s "$srcdir/go-dockerclient" src/github.com/fsouza/go-dockerclient
- ln -s "$srcdir/go-cleanhttp" src/github.com/hashicorp/go-cleanhttp
- mkdir -p src/golang.org/x/net
- tar zxf "$srcdir/net.tar.gz" -C src/golang.org/x/net/
- export GOPATH="$PWD"
- go get -d ./
-}
-
-build() {
- cd "$pkgname-$pkgver"
- export GOPATH="$PWD"
- make build
-}
+source=("$pkgname-$pkgver::https://github.com/justone/$pkgname/releases/download/v$pkgver/$_binfile")
+sha1sums=('eb4d302fb83116e7b487cef0eb0bb1ffc1eb6146')
package() {
- cd "$pkgname-$pkgver"
- install -Dm755 ./$pkgname-$pkgver "$pkgdir/usr/bin/$pkgname"
+ cd "${srcdir}"
+ install -Dm755 ./$pkgname-$pkgver "${pkgdir}/usr/bin/$pkgname"
}