summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 255c24a8bb774f854dd0d5ecf95fb82e5f4fc822 (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
# Maintainer: Adam Thiede <me@adamthiede.com>
pkgname=reader
pkgver=0.4.5
pkgrel=1
pkgdesc="reader parses a web page for its actual content and displays it in nicely highlighted text on the command line."
url="https://github.com/mrusme/reader"
arch=(any)
license=("GPL-3.0")
makedepends=(go)

source=(
  ${url}/archive/refs/tags/v${pkgver}.tar.gz
)

build() {
	cd $pkgname-$pkgver
	go build
}

package() {
	install -Dm755 "$pkgname-$pkgver/$pkgname" "$pkgdir"/usr/bin/"$pkgname"
}

sha512sums=('09bdc7c769499f92c50a0754006af72a0739a228732fe6728fb1d14495a2ce5fe6ac06f5d7158da12ceed8c0c229a4e43185c0b8d45e5cd07c0ace2ab13d96d1')