From 188630684d5d3f5ca8f7f58afa523580aa7d1314 Mon Sep 17 00:00:00 2001 From: "Gabriel A. Giovanini" Date: Fri, 19 Jul 2024 21:39:35 +0200 Subject: chore: Add new application --- apks/uf/APKBUILD | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 apks/uf/APKBUILD (limited to 'apks/uf') diff --git a/apks/uf/APKBUILD b/apks/uf/APKBUILD new file mode 100644 index 0000000..6b113ba --- /dev/null +++ b/apks/uf/APKBUILD @@ -0,0 +1,27 @@ +# Maintainer: Gabriel A. Giovanini +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 +" -- cgit v1.2.3