aports/testing/up/APKBUILD
Francesco Camuffo 76b0f324a5 testing/up: new aport
https://github.com/akavel/up
Ultimate Plumber is a tool for writing Linux pipes with instant live preview
2021-04-02 01:44:20 +00:00

31 lines
753 B
Plaintext

# Contributor: Francesco Camuffo <dev@fmac.xyz>
# Maintainer: Francesco Camuffo <dev@fmac.xyz>
pkgname=up
pkgver=0.4
pkgrel=0
pkgdesc="Ultimate Plumber is a tool for writing Linux pipes with instant live preview"
url="https://github.com/akavel/up"
arch="all"
license="Apache-2.0"
makedepends="go"
source="$pkgname-$pkgver.tar.gz::https://github.com/akavel/up/archive/refs/tags/v$pkgver.tar.gz"
build() {
go build -v -o bin/$pkgname
}
check() {
go test
}
package() {
install -Dm755 bin/$pkgname "$pkgdir"/usr/bin/$pkgname
}
cleanup_srcdir() {
go clean -modcache
default_cleanup_srcdir
}
sha512sums="f9032decec6f2288a50c91fbc25d76fb572e8942f035382067fdad79dd319fb42251d6b0df0d65d1eb9a9632b8431122951a4509c06dae759def3075014dcdd0 up-0.4.tar.gz"