blob: 1a4400d599da8b4ac90680cf1eec0fbfabadbfdb (
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
|
# Maintainer: quenyen
pkgname=weatherreport
pkgver=1.1.0
pkgrel=1
pkgdesc="A command line tool to get the current weather conditions."
arch=('i686' 'x86_64' 'arm' 'armv7h' 'armv6h' 'aarch64')
url="https://gitlab.com/chrisfair/weatherreport"
license=('GPL')
depends=(
'libalpm.so>=12'
'sudo'
'git'
)
makedepends=(
'go'
)
source=("https://gitlab.com/chrisfair/${pkgname}/-/archive/v${pkgver}/${pkgname}-v${pkgver}.tar.gz")
sha256sums=('23a899e8d6ef990440e1a6eafb34690eebc409f8f042f2d4bb46dabcd55d7b6b')
build() {
export GOPATH="$srcdir"/gopath
cd "$srcdir/$pkgname-v$pkgver"
go get github.com/mmcdole/gofeed
go build
}
package() {
cd "$srcdir/$pkgname-v$pkgver"
install -D $pkgname-v$pkgver $pkgdir/usr/bin/$pkgname
}
|