2019-06-12 12:19:53 +00:00
|
|
|
# Maintainer: Knut Ahlers <knut at ahlers dot me>
|
|
|
|
|
|
|
|
pkgname=vim-go-tools
|
2020-05-31 14:19:19 +00:00
|
|
|
pkgver=2020.05.31
|
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")
|
2020-05-31 14:19:19 +00:00
|
|
|
sha512sums=('c85e9c08cafb7a800a1eb4a8dc144503d73e00102d40219eaaf9d93f4b18fa5d2e1597722e37e00936d2315dd7f024fa6ac59b9a0f0a173e6e5570f3ef185dd9'
|
2021-06-26 22:37:08 +00:00
|
|
|
'c730e0413f18b18a325c89a1818499e43b9089b73e0067aa5c4abaa85f543daebc0924e291f768771999484e03e585b63eece0fb10d10cd3d99a4c0364ea5ec5')
|
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"
|
|
|
|
}
|