aboutsummaryrefslogtreecommitdiffstats
path: root/community/translate-shell/APKBUILD
blob: 3f2c6d5ea14d4b6d6149857e80fa5ab8edcd254e (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
# Contributor: Leo <thinkabit.ukim@gmail.com>
# Maintainer:
pkgname=translate-shell
pkgver=0.9.6.12
pkgrel=0
pkgdesc="Command-line online translator"
options="!check" # x86_64 test fail without good info
url="https://www.soimort.org/translate-shell"
arch="noarch"
license="Unlicense"
depends="gawk bash"
subpackages="$pkgname-doc"
source="$pkgname-$pkgver.tar.gz::https://github.com/soimort/translate-shell/archive/v$pkgver.tar.gz
	drop-rlwrap-emacs-tests.patch
	"

build() {
	make
}

check() {
	make check
}

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

sha512sums="6cbdfd14b7004d0e37a4abee01bec87409137f1bb7a14a964936bf0a2ad704ea1fc04dcd8ab10404a5c2df105bf7a6a8b33ed02c75c1035a6900082f6dfbb20d  translate-shell-0.9.6.12.tar.gz
9eae49f31e709c4802bd8952abddf98445129b793394289afddef96bf790e84065abe6b808ce19fda933a141dfc92522d38777c8310243185db7880954aff85c  drop-rlwrap-emacs-tests.patch"