mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2026-04-14 02:02:30 +02:00
37 lines
943 B
Plaintext
37 lines
943 B
Plaintext
# Maintainer: Steven Guikal <void@fluix.one>
|
|
pkgname=aerc
|
|
pkgver=0.18.1
|
|
pkgrel=0
|
|
pkgdesc="email client for your terminal"
|
|
url="https://aerc-mail.org"
|
|
arch="all"
|
|
license="MIT"
|
|
depends="cmd:sh less ncurses"
|
|
makedepends="go scdoc notmuch-dev"
|
|
checkdepends="gpg gpgme"
|
|
subpackages="$pkgname-doc"
|
|
source="$pkgname-$pkgver.tar.gz::https://git.sr.ht/~rjarry/aerc/archive/$pkgver.tar.gz"
|
|
|
|
export GOFLAGS="$GOFLAGS -tags=notmuch"
|
|
export GOCACHE="${GOCACHE:-"$srcdir/go-cache"}"
|
|
export GOTMPDIR="${GOTMPDIR:-"$srcdir"}"
|
|
export GOMODCACHE="${GOMODCACHE:-"$srcdir/go"}"
|
|
|
|
build() {
|
|
unset LDFLAGS # passed as go linker flags and invalid
|
|
make PREFIX=/usr VERSION=$pkgver
|
|
}
|
|
|
|
check() {
|
|
go test ./...
|
|
}
|
|
|
|
package() {
|
|
unset LDFLAGS
|
|
make install PREFIX=/usr DESTDIR="$pkgdir" VERSION=$pkgver
|
|
}
|
|
|
|
sha512sums="
|
|
38429da656e82cbf63ebfcce655644d4bb7b390c22a2bf93e0bd77448f20a5513aa7dad687e9188ebc222edecc488cee025362e5fa3abd484d1b574261c93c98 aerc-0.18.1.tar.gz
|
|
"
|