blob: 4264de8da8d38e5f1d1f798a33210563ce01eb03 (
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
28
29
30
31
32
|
# Maintainer: Christian Muehlhaeuser <muesli at gmail dot com>
pkgname=thunder
pkgver=0.1
pkgrel=1
pkgdesc="An interactive shell for BoltDB files"
arch=('x86_64')
url="https://github.com/muesli/thunder"
license=('MIT')
makedepends=('go')
source=("https://github.com/muesli/${pkgname}/archive/v${pkgver}.tar.gz")
sha256sums=('fdb58026914f53c60dbe92e3c4c11e3e803ac2cc02833c80273febdc274c4468')
prepare() {
cd "$pkgname-$pkgver"
GOPATH=`pwd` go get -d -v
}
build() {
cd "$pkgname-$pkgver"
GOPATH=`pwd` go build
}
package() {
cd "$pkgname-$pkgver"
# Install binary
install -Dm755 "$pkgname-$pkgver" "$pkgdir/usr/bin/$pkgname"
# Copy License
install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
}
|