2025-03-16 14:14:06 +01:00

29 lines
859 B
Plaintext

# Contributor: Adam Thiede <me@adamthiede.com>
# Maintainer: Adam Thiede <me@adamthiede.com>
pkgname=reader
pkgver=0.4.7
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="all"
license="GPL-3.0-only"
makedepends="go"
source="$pkgname-$pkgver.tar.gz::https://github.com/mrusme/reader/archive/v$pkgver.tar.gz"
options="!check" # no tests
export GOCACHE="${GOCACHE:-"$srcdir/go-cache"}"
export GOTMPDIR="${GOTMPDIR:-"$srcdir"}"
export GOMODCACHE="${GOMODCACHE:-"$srcdir/go"}"
build() {
go build
}
package() {
install -Dm755 "$pkgname" "$pkgdir"/usr/bin/"$pkgname"
}
sha512sums="
2a5d42799f7d4da7da76d2d60472155c075cd2d1bbf2833edcca03db4507813643bd42aafa165ba148309ab109909515e1dd719817779590096bdb9b3e07bf35 reader-0.4.7.tar.gz
"