aboutsummaryrefslogtreecommitdiffstats
path: root/community/translate-shell/APKBUILD
blob: 4005a177da6d01c7be8b200892e5c9cf60a8854d (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
26
27
28
29
30
31
32
# Contributor: Leo <thinkabit.ukim@gmail.com>
# Maintainer: Celeste <cielesti@protonmail.com>
pkgname=translate-shell
pkgver=0.9.7.1
pkgrel=1
pkgdesc="Command-line online translator"
url="https://www.soimort.org/translate-shell/"
arch="noarch"
license="Unlicense"
depends="bash gawk"
subpackages="$pkgname-doc"
source="$pkgname-$pkgver.tar.gz::https://github.com/soimort/translate-shell/archive/v$pkgver.tar.gz
	drop-rlwrap-emacs-tests.patch
	"
options="!check" # requires 3rdparty http request to pass

build() {
	make
}

check() {
	make check
}

package() {
	make DESTDIR="$pkgdir" PREFIX=/usr install
}

sha512sums="
d25a6177ee5b9d41715042b653ad345d1c76884423700f0fe53bc2ffddd6d3c14844fa4e768b87b055018794a8c4057c329810c65764e7f9aa425ceac35f0810  translate-shell-0.9.7.1.tar.gz
9eae49f31e709c4802bd8952abddf98445129b793394289afddef96bf790e84065abe6b808ce19fda933a141dfc92522d38777c8310243185db7880954aff85c  drop-rlwrap-emacs-tests.patch
"