# Contributor: Francesco Camuffo # Maintainer: Francesco Camuffo pkgname=up pkgver=0.4 pkgrel=26 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 update-go-mod.patch" export GOCACHE="${GOCACHE:-"$srcdir/go-cache"}" export GOTMPDIR="${GOTMPDIR:-"$srcdir"}" export GOMODCACHE="${GOMODCACHE:-"$srcdir/go"}" build() { go build -v -o bin/$pkgname } check() { go test } package() { install -Dm755 bin/$pkgname "$pkgdir"/usr/bin/$pkgname } sha512sums=" f9032decec6f2288a50c91fbc25d76fb572e8942f035382067fdad79dd319fb42251d6b0df0d65d1eb9a9632b8431122951a4509c06dae759def3075014dcdd0 up-0.4.tar.gz 7fbfcdf0a8ed39ba440ec9113ad7ff9d827d8320bd0a264a655bd1a304b88f474e17cc645d8ed601b4c21bfe074352baa819d2d0858013ed2a8211cc1c91e7ac update-go-mod.patch "