makedeb
A simple terminal UI for docker and docker-compose, written in Go with the gocui library.
Click here to go back to the commit logs for lazydocker.
Hash: 1c9e584d22355204ec78b38c21a61b409c020b73
Message: Bump to 0.4
diff --git a/.SRCINFO b/.SRCINFO
index 3816b5e..370c6f9 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,6 +1,6 @@
pkgbase = lazydocker
pkgdesc = A simple terminal UI for docker and docker-compose, written in Go with the gocui library.
- pkgver = 0.3
+ pkgver = 0.4
pkgrel = 1
url = https://github.com/jesseduffield/lazydocker
arch = 1686
@@ -11,8 +11,8 @@ pkgbase = lazydocker
license = MIT
makedepends = go
makedepends = dep
- source = lazydocker-0.3.tar.gz::https://github.com/jesseduffield/lazydocker/archive/v0.3.tar.gz
- sha1sums = 1f4719f50c74437b6fc8fcf23e3e8e3412f61f0f
+ source = lazydocker-0.4.tar.gz::https://github.com/jesseduffield/lazydocker/archive/v0.4.tar.gz
+ sha1sums = 85257a32904b7a4da5d1afd769b57303e86a4300
pkgname = lazydocker
diff --git a/PKGBUILD b/PKGBUILD
index fe6f919..89229c1 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,6 +1,6 @@
# Maintainer: Mikhail Swift <mikhail.swift@gmail.com>
pkgname=lazydocker
-pkgver=0.3
+pkgver=0.4
pkgrel=1
pkgdesc='A simple terminal UI for docker and docker-compose, written in Go with the gocui library.'
arch=('1686' 'x86_64' 'armv7h' 'armv6h' 'aarch64')
@@ -8,19 +8,10 @@ url='https://github.com/jesseduffield/lazydocker'
license=('MIT')
makedepends=('go' 'dep')
source=("${pkgname}-${pkgver}.tar.gz::https://github.com/jesseduffield/lazydocker/archive/v${pkgver}.tar.gz")
-sha1sums=('1f4719f50c74437b6fc8fcf23e3e8e3412f61f0f')
-
-prepare() {
- mkdir -p gopath/src/github.com/jesseduffield/
- ln -rTsf ${pkgname}-${pkgver} gopath/src/github.com/jesseduffield/lazydocker
- export GOPATH="${srcdir}/gopath"
- cd gopath/src/github.com/jesseduffield/lazydocker
- dep ensure
-}
+sha1sums=('85257a32904b7a4da5d1afd769b57303e86a4300')
build() {
- export GOPATH="${srcdir}/gopath"
- cd gopath/src/github.com/jesseduffield/lazydocker
+ cd "${pkgname}-${pkgver}"
go build \
-gcflags=all=-trimpath=${PWD} \
-asmflags=all=-trimpath=${PWD} \
@@ -32,5 +23,5 @@ build() {
}
package() {
- install -Dm755 gopath/src/github.com/jesseduffield/lazydocker/${pkgname} ${pkgdir}/usr/bin/${pkgname}
+ install -Dm755 "${pkgname}-${pkgver}/${pkgname}" ${pkgdir}/usr/bin/${pkgname}
}