mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-04-13 02:36:34 +02:00
30 lines
888 B
Text
30 lines
888 B
Text
# Contributor: Tuan Anh Tran <me@tuananh.org>
|
|
# Maintainer: Tuan Anh Tran <me@tuananh.org>
|
|
pkgname=walk
|
|
pkgver=1.13.0
|
|
pkgrel=2
|
|
pkgdesc="Terminal file manager"
|
|
url="https://github.com/antonmedv/walk"
|
|
arch="all"
|
|
license="MIT"
|
|
makedepends="go"
|
|
subpackages="$pkgname-doc"
|
|
options="!check" # no tests available upstream
|
|
source="$pkgname-$pkgver.tar.gz::https://github.com/antonmedv/walk/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 -o bin/walk
|
|
}
|
|
|
|
package() {
|
|
install -Dm0755 bin/walk -t "$pkgdir"/usr/bin/
|
|
install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
|
|
}
|
|
|
|
sha512sums="
|
|
a20b797ba16c0a53c73ed4616168500bb52ca5bdad11e5a783822d7864caca7c2e18b915be9049bee7846255fd1882e0bf012d923d340600b5dfe84d5f736ef5 walk-1.13.0.tar.gz
|
|
"
|