aports/community/aerc/APKBUILD
Hugo Osvaldo Barrera 16263c7028 community/aerc: don't specify sh as a dependency
This is already a dependency of alpine-baselayout and of abuild itself.
2025-03-10 22:06:58 +00:00

36 lines
880 B
Plaintext

# Maintainer: Steven Guikal <void@fluix.one>
pkgname=aerc
pkgver=0.20.1
pkgrel=2
pkgdesc="email client for your terminal"
url="https://aerc-mail.org"
arch="all"
license="MIT"
depends="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"
options="net"
export GOFLAGS="$GOFLAGS -tags=notmuch"
export GOCACHE="${GOCACHE:-"$srcdir/go-cache"}"
export GOTMPDIR="${GOTMPDIR:-"$srcdir"}"
export GOMODCACHE="${GOMODCACHE:-"$srcdir/go"}"
build() {
make PREFIX=/usr VERSION=$pkgver
}
check() {
go test ./...
}
package() {
make install PREFIX=/usr DESTDIR="$pkgdir" VERSION=$pkgver
}
sha512sums="
7221217b7f0e6f92b589864b2e214b3edad3a2f702ab1d6b83f11eba6bb443bf334e76dbb61a67a13a9673e5e5106428ea3ba0ade940dc7f2cf488076783f4a5 aerc-0.20.1.tar.gz
"