blob: 92c837134ff2e10cf959e465becb0a61e1a7ee6f (
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
33
34
35
36
|
# Maintainer: Jarrod Moore <Jarrod@allforscience.com>
#
pkgname="satellite"
pkgver=v0.4.0
pkgrel=1
pkgdesc="Satellite Program to fetch images from Himawari or Discovr and set them as desktop."
arch=('x86_64' 'i686')
url="https://github.com/avinashbot/satellite"
license=('MIT')
makedepends=('go')
options=('!strip')
prepare() {
mkdir -p go
export GOPATH="$srcdir/go"
go get github.com/avinashbot/satellite
}
build() {
export GOPATH="$srcdir/go"
msg2 "Building satellite"
go build "github.com/avinashbot/satellite"
}
package() {
cd "$srcdir"
install -Dm755 "$pkgname" "$pkgdir/usr/bin/$pkgname"
}
# vim:set ts=2 sw=2 et:
|