aboutsummaryrefslogtreecommitdiff
path: root/apks/uf/APKBUILD
blob: 6b113ba567d2fd562bfda8d5e818f4b1a014d1c8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
# Maintainer: Gabriel A. Giovanini <mail@gabrielgio.me>
pkgname=uf
pkgver=v0.0.1
pkgrel=0
pkgdesc="Small personal string input manipulation"
url="https://beta.gabrielgio.me/uf/"
arch="x86_64"
license="MIT"
makedepends="zig"
source="$pkgname-$pkgver.tar.gz::https://beta.gabrielgio.me/$pkgname/archive/$pkgver.tar.gz"
builddir="$srcdir/$pkgname-$pkgver"

build() {
    zig build --release
}

check() {
	zig test src/main.zig
}

package() {
	install -Dm755 zig-out/bin/uf "$pkgdir"/usr/bin/uf
}

sha512sums="
330792c2911b93b622290f6dab135b279bcc3377563110eb7c72f5955dc346a88edf1f59c89f3b51cc6a1380798252aca8146cd4d3a52b8047c2c60da0531204  uf-v0.0.1.tar.gz
"