aboutsummaryrefslogtreecommitdiffstats
path: root/community/adbtuifm/APKBUILD
blob: 93029b6e85b6feb3b61e0dd0c496966f198c76d5 (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
# Contributor: omni <omni+alpine@hack.org>
# Maintainer: omni <omni+alpine@hack.org>
pkgname=adbtuifm
pkgver=0.5.8
pkgrel=2
pkgdesc="A TUI File Manager for Android Debug Bridge (ADB)"
url="https://github.com/darkhz/adbtuifm"
license="MIT"
arch="all"
makedepends="go"
options="!check" # no test files
source="$pkgname-$pkgver.tar.gz::https://github.com/darkhz/adbtuifm/archive/refs/tags/v$pkgver.tar.gz"

export GOCACHE="${GOCACHE:-"$srcdir/go-cache"}"
export GOTMPDIR="${GOTMPDIR:-"$srcdir"}"
export GOMODCACHE="${GOMODCACHE:-"$srcdir/go"}"

build() {
	go build -v .
}

package() {
	install -Dm0755 "$pkgname" -t "$pkgdir"/usr/bin
}

sha512sums="
78db21a7414be6a230ca0fa51dfb06e52f773b50aa473df51341a5b1484a491016f87d567b7a05e0ea85b4437294f5c7a3e6ceb6b2ce1bf11f15cba822dbe770  adbtuifm-0.5.8.tar.gz
"