aboutsummaryrefslogtreecommitdiff
path: root/apks/uf/APKBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'apks/uf/APKBUILD')
-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
+"