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
|
2022-03-17 00:35:04 +00:00
|
|
|
pkgrel=2
|
2019-06-12 12:19:53 +00:00
|
|
|
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")
|
2023-05-07 14:39:18 +00:00
|
|
|
sha512sums=('5bf0f12f0836084a9a76a970cc605375b9cabead2450fd5ab2753c3604b3061568c2851e090516846c6920bd2dfd3843ff69453b6cc0a0faf72e3af348c40475'
|
2024-03-18 18:24:08 +00:00
|
|
|
'43b304367a32ee7f7b49eea35d938203dcdfb7f28f9dee44bf9f8ba4a514628cf683999fc8201b04bb34820c530a15235f51f8af1792a1b48fbe019e32a3d38e')
|
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"
|
|
|
|
}
|