void-packages/srcpkgs/aerc/template

28 lines
744 B
Bash

# Template file for 'aerc'
pkgname=aerc
version=0.18.2
revision=1
build_style=go
go_import_path="git.sr.ht/~rjarry/aerc"
go_build_tags=notmuch
go_ldflags="-X main.Version=${version}"
hostmakedepends="scdoc"
makedepends="libnotmuch-devel"
short_desc="Terminal email client"
maintainer="shtayerc <david.murko@mailbox.org>"
license="MIT"
homepage="https://aerc-mail.org"
changelog="https://git.sr.ht/~rjarry/aerc/blob/master/CHANGELOG.md"
distfiles="https://git.sr.ht/~rjarry/aerc/archive/${version}.tar.gz"
checksum=78408b3fe7a4991a6097c961c348fb7583af52dff80cbfcd99808415cf3d7586
ignore_elf_dirs="/usr/share/aerc/filters"
post_install() {
make PREFIX=/usr DESTDIR=${DESTDIR} install
vlicense LICENSE
}
do_check() {
make ${makejobs} tests
}