aboutsummaryrefslogtreecommitdiffstats
path: root/testing/aerc/APKBUILD
blob: 50aa01b046f5e1ab4bb8cf50e89869c5c9d1b1cb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
# Maintainer: Drew DeVault <sir@cmpwn.com>
pkgname=aerc
pkgver=0.3.0
pkgrel=0
pkgdesc="an email client for your terminal"
url="https://aerc-mail.org"
arch="all"
license="MIT"
depends="less ncurses"
makedepends="go scdoc"
subpackages="$pkgname-doc"
source="$pkgname-$pkgver.tar.gz::https://git.sr.ht/~sircmpwn/aerc/archive/$pkgver.tar.gz"

build() {
	make PREFIX=/usr
}

check() {
	go test ./...
}

package() {
	make install PREFIX=/usr DESTDIR="$pkgdir"
}
sha512sums="7f2b285b1045d1f271e3741a3d66fb48afbd7a372eea70c89307d8853f5dffd8e25d077c51da4139ed2568ec465782c97091da3b5fd0fd03b89e9cec936d6f27  aerc-0.3.0.tar.gz"