2019-06-12 12:19:53 +00:00
|
|
|
# Maintainer: Knut Ahlers <knut at ahlers dot me>
|
|
|
|
|
|
|
|
pkgname=vim-go-tools
|
2019-07-12 04:07:05 +00:00
|
|
|
pkgver=2019.07.12
|
2019-06-12 12:19:53 +00:00
|
|
|
pkgrel=1
|
|
|
|
pkgdesc="Package of tools required by vim-go"
|
|
|
|
arch=('x86_64')
|
|
|
|
url="https://github.com/fatih/vim-go"
|
|
|
|
license=(other)
|
|
|
|
makedepends=('go')
|
2019-06-12 12:38:37 +00:00
|
|
|
source=("build.sh" "tools.txt")
|
2019-07-06 21:14:14 +00:00
|
|
|
sha512sums=('ee180fa557e4fe57003a67d4fe19747c6452d5fb39de78265827bfd4baa3aff26ebd8984ebc3cf0d7b22342d66dbd7bccf9d8adecc3498fe0d496376ef5d3e86'
|
2020-05-11 17:35:36 +00:00
|
|
|
'6ea26e2772780889220417c2d70206fda05141c86e628803b8f6c8b3614cce14a337ba7e81a62b343ce0023bc2e26fded77c6dc0c444eb1da2413e30e2b962f0')
|
2019-06-12 12:19:53 +00:00
|
|
|
|
|
|
|
build() {
|
|
|
|
mkdir -p "${srcdir}/go"
|
|
|
|
GOPATH="${srcdir}/go" bash "${srcdir}/build.sh"
|
|
|
|
}
|
|
|
|
|
|
|
|
package() {
|
|
|
|
for binary in "${srcdir}/go/bin/"*; do
|
|
|
|
install -Dm755 "${srcdir}/go/bin/$(basename ${binary})" "${pkgdir}/usr/bin/$(basename ${binary})"
|
|
|
|
done
|
|
|
|
}
|
2019-10-23 21:51:14 +00:00
|
|
|
|
|
|
|
pkgver() {
|
|
|
|
date +"%Y.%m.%d"
|
|
|
|
}
|