mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-12-26 20:02:30 +01:00
https://github.com/mrusme/reader reader parses a web page for its actual content and displays it in nicely highlighted text on the command line.
30 lines
879 B
Plaintext
30 lines
879 B
Plaintext
# Contributor: Adam Thiede <me@adamthiede.com>
|
|
# Maintainer: Adam Thiede <me@adamthiede.com>
|
|
pkgname=reader
|
|
pkgver=0.3.0
|
|
pkgrel=0
|
|
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"
|
|
# not specified if -only
|
|
license="GPL-3.0"
|
|
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="
|
|
e79c12ad92f3a7a087e666a67c7b6ce590df58aa99ba18870025d001010fd3842dd78d3dcd9b23ef37979bc781810b38b063b018c0ba4abd8f2f909c9513a900 reader-0.3.0.tar.gz
|
|
"
|