blob: 1190179d4bc0fd6ea80b0f53a7f5440b817f0901 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
# Maintainer: yesuu zhang <yesuu79@qq.com>
pkgname=gocode-daemon
pkgver=20170907
pkgrel=1
pkgdesc="An autocompletion daemon for the Go programming language (binary only)"
arch=('i686' 'x86_64')
url="https://github.com/nsf/gocode"
license=('MIT')
depends=('go')
source=('https://github.com/nsf/gocode/archive/v.20170907.tar.gz')
sha256sums=('100dbf8a971b10728b7566d430d368a62e60c77b880be96dc0b6364364cac2b4')
build() {
cd "${srcdir}/gocode-v.20170907"
go build -o gocode
}
package() {
cd "${srcdir}/gocode-v.20170907"
install -Dm755 gocode "${pkgdir}/usr/bin/gocode"
}
|