mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-06-06 19:14:48 +02:00
28 lines
859 B
Text
28 lines
859 B
Text
# Contributor: Adam Thiede <me@adamthiede.com>
|
|
# Maintainer: Adam Thiede <me@adamthiede.com>
|
|
pkgname=reader
|
|
pkgver=0.5.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"
|
|
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="
|
|
d0e74488a34e36845e62c1f96880470b54f2924cc5d8f85c4439de4039a25a073aff58e3d5f85dab796877ab6ef6c1dcbc70aaee036ca0f71e9fa0d376f5d0de reader-0.5.0.tar.gz
|
|
"
|