aports

Custom Alpine Linux aports

git clone https://git.8pit.net/aports.git

 1# Contributor: Sören Tempel <soeren+alpine@soeren-tempel.net>
 2# Maintainer: Sören Tempel <soeren+alpine@soeren-tempel.net>
 3pkgname=mblaze-ui
 4pkgver=0_git20241009
 5_commit=0cf531e99b1af78382193bb629457acde3099e2b
 6pkgrel=0
 7pkgdesc="A minimal TUI for the mblaze email client"
 8url="https://github.com/nmeum/mblaze-ui"
 9arch="all"
10license="GPL-3.0-or-later"
11makedepends="go"
12options="!check chmod-clean net"
13source="$pkgname-$pkgver.tar.gz::https://github.com/nmeum/mblaze-ui/archive/$_commit.tar.gz"
14builddir="$srcdir/$pkgname-$_commit"
15
16export GOCACHE="${GOCACHE:-"$srcdir/go-cache"}"
17export GOTMPDIR="${GOTMPDIR:-"$srcdir"}"
18export GOMODCACHE="${GOMODCACHE:-"$srcdir/go"}"
19
20build() {
21	go build -o $pkgname -trimpath
22}
23
24package() {
25	install -Dm755 $pkgname "$pkgdir"/usr/bin/$pkgname
26}
27
28sha512sums="
29d8dbb9d5e3422d40018010167f82edda53f488dace93ceab18e9fc7146780acb568b00fd200f6e15f6e81cd60f01889f83728a095557b78c2bc91efe6dfeee46  mblaze-ui-0_git20241009.tar.gz
30"