apkbuilds @ d98508753be4e01668f5cc365bb9397f89804721

 1# Maintainer: Gabriel A. Giovanini <mail@gabrielgio.me>
 2pkgname=uf
 3pkgver=v0.0.1
 4pkgrel=0
 5pkgdesc="Small personal string input manipulation"
 6url="https://beta.gabrielgio.me/uf/"
 7arch="x86_64"
 8license="MIT"
 9makedepends="zig"
10source="$pkgname-$pkgver.tar.gz::https://beta.gabrielgio.me/$pkgname/archive/$pkgver.tar.gz"
11builddir="$srcdir/$pkgname-$pkgver"
12
13build() {
14    zig build --release
15}
16
17check() {
18	zig test src/main.zig
19}
20
21package() {
22	install -Dm755 zig-out/bin/uf "$pkgdir"/usr/bin/uf
23}
24
25sha512sums="
26330792c2911b93b622290f6dab135b279bcc3377563110eb7c72f5955dc346a88edf1f59c89f3b51cc6a1380798252aca8146cd4d3a52b8047c2c60da0531204  uf-v0.0.1.tar.gz
27"