mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-12-25 19:32:44 +01:00
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.4.0
|
|
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"
|
|
# 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="
|
|
210798d4ef7d95de3fe5a3d93b0082ae6837ddc66d5e032d04721a8cdd9498945c51cf234ca5b37c8db0da7958ba0d11ad0c8c5592ee4eb99e674aa27f150294 reader-0.4.0.tar.gz
|
|
"
|