aboutsummaryrefslogtreecommitdiff
path: root/apks/uf
diff options
context:
space:
mode:
authorGabriel A. Giovanini <mail@gabrielgio.me>2024-07-19 21:39:35 +0200
committerGabriel A. Giovanini <mail@gabrielgio.me>2024-07-19 21:39:35 +0200
commit188630684d5d3f5ca8f7f58afa523580aa7d1314 (patch)
treeb6d4befad96ae8e97b704081a4d6b82b251b7d84 /apks/uf
parent6b1b16b625f5ad3a2be73bf7b7216fe8f6ca5254 (diff)
downloadapkbuilds-188630684d5d3f5ca8f7f58afa523580aa7d1314.tar.gz
apkbuilds-188630684d5d3f5ca8f7f58afa523580aa7d1314.tar.bz2
apkbuilds-188630684d5d3f5ca8f7f58afa523580aa7d1314.zip
chore: Add new application
Diffstat (limited to 'apks/uf')
-rw-r--r--apks/uf/APKBUILD27
1 files changed, 27 insertions, 0 deletions
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 <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
+"