aboutsummaryrefslogtreecommitdiffstats
path: root/testing/vocage/APKBUILD
blob: cb710cf18822071af92f414da34024bf8ac5a94e (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
# Maintainer: Krystian ChachuĊ‚a <krystian@krystianch.com>
pkgname=vocage
pkgver=1.1.0
pkgrel=0
pkgdesc="Minimalistic terminal-based vocabulary-learning tool"
url="https://github.com/proycon/vocage"
arch="all"
license="GPL-3.0-or-later"
makedepends="rust cargo"
source="$pkgname-$pkgver.tar.gz::https://github.com/proycon/vocage/archive/refs/tags/v1.1.0.tar.gz"
options="!check" # No test suite / unit tests

build() {
	cargo build --release --locked
}

package() {
	install -D -m755 "target/release/vocage" "$pkgdir/usr/bin/vocage"
}

sha512sums="
c6cf955de66469c00e88b4dff1aa0a9686c3a1fe604e8c1f6fccd738de013c5490ed178f41a863b2a90419bb936a0a6e038a761dedf55b3e283d15a957373c31  vocage-1.1.0.tar.gz
"