blob: 5feb1ce99615b60ed21884d25eed0916866602e3 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
|
# Maintainer: Your Name <your.email@example.com>
pkgname=boring
pkgver=0.4.1
pkgrel=1
pkgdesc="The \`boring\` SSH tunnel manager"
arch=('x86_64')
url="https://github.com/alebeck/boring"
license=('MIT')
depends=('go')
source=("$pkgname::git+$url.git#tag=$pkgver")
md5sums=('SKIP')
build() {
cd "$srcdir/$pkgname"
export GOPATH="$srcdir/go"
mkdir -p "$GOPATH"
go build -o ./bin/boring ./cmd/boring
}
package() {
cd "$srcdir/$pkgname"
install -Dm755 "./bin/boring" "$pkgdir/usr/bin/boring"
}
# No checksums are used, as requested
|