apkbuilds @ ef9e52a017b9afa06d398c651050deb86c044819

feat: Add genpass apk build
diff --git a/build.yml b/build.yml
index 4829f1a1e3b574b2e1c1ec2ec157ef11eeb4eb8c..a49bd2999a9e8cb3dfe750c67e4fcfdb12c3c151 100644
--- a/build.yml
+++ b/build.yml
@@ -6,6 +6,7 @@   - alpine-sdk
 environment:
   deploy: builds@gabrielgio.me
   target: artifacts.gabrielgio.me/repo/
+  packages: ["midr", "genpass"]
 sources:
   - https://git.sr.ht/~gabrielgio/apkbuilds
 secrets:
@@ -15,7 +16,7 @@ tasks:
   - setup: |
       echo "PACKAGER_PRIVKEY=\"/home/build/.abuild/mail@gabrielgio.me-62ddc4dc.rsa\"" > ~/.abuild/abuild.conf
   - build: |
-      cd apkbuilds/midr
+      cd apkbuilds/"${packages[@]}"
       abuild -r
   - deploy: |
       sshopts="ssh -o StrictHostKeyChecking=no"
diff --git a/genpass/APKBUILD b/genpass/APKBUILD
new file mode 100644
index 0000000000000000000000000000000000000000..06c57d3780c68834c139d8098d394c10fca94379
--- /dev/null
+++ b/genpass/APKBUILD
@@ -0,0 +1,39 @@
+# Maintainer: Gabriel A. Giovanini <mail@gabrielgio.me>
+pkgname=genpass
+pkgver=0.1.0
+pkgrel=0
+pkgdesc="Website password generator in wasm"
+url="https://git.sr.ht/~gabrielgio/genpass"
+arch="all"
+license="MIT"
+depends=""
+makedepends="
+    curl
+    build-base
+    firefox
+    make
+    npm
+    cargo
+"
+builddir="$srcdir/$pkgname-$pkgver/"
+source="https://artifacts.gabrielgio.me/"$pkgname"/"$pkgname"-"$pkgver".tar.gz"
+
+build() {
+    source $HOME/.cargo/env
+    #cargo install wasm-pack
+    make
+
+}
+
+check() {
+    make test
+}
+
+package() {
+    mkdir -p "$pkgdir"/var/www
+    cp -dr public "$pkgdir"/var/www/"$pkgname"
+}
+
+sha512sums="
+1b3079701557f97a0380dcfb4d67e7b96fb340a1c5f9b822a718a4c68b638ad09ba33afe33babc8bd4454390d128ed0b55bb1cd7aa513ced90fe443cddf022d1  genpass-0.1.0.tar.gz
+"
diff --git a/midr/APKBUILD b/midr/APKBUILD
index f3494340cd9fe5b6fbef77f2c0069169ea9c5b9c..b985257e9eb3b0a824bf1258126a5af282336ae5 100644
--- a/midr/APKBUILD
+++ b/midr/APKBUILD
@@ -25,10 +25,10 @@
 build() {
     go mod vendor
     go build \
-			-trimpath \
-			-mod=vendor \
-            -ldflags="-X 'main.Version=${pkgver}'" \
-            .
+        -trimpath \
+        -mod=vendor \
+        -ldflags="-X 'main.Version=${pkgver}'" \
+        .
 }
 
 package() {
@@ -38,10 +38,10 @@
     mkdir -p "$pkgdir"/usr/bin
     ln -s /usr/lib/"$pkgname"/"$pkgname" "$pkgdir"/usr/bin/"$pkgname"
 
-	install -m755 -D "$srcdir"/$pkgname.initd \
-		"$pkgdir"/etc/init.d/$pkgname
-	install -m644 -D "$srcdir"/$pkgname.confd \
-		"$pkgdir"/etc/conf.d/$pkgname
+    install -m755 -D "$srcdir"/$pkgname.initd \
+        "$pkgdir"/etc/init.d/$pkgname
+    install -m644 -D "$srcdir"/$pkgname.confd \
+         "$pkgdir"/etc/conf.d/$pkgname
 }
 
 sha512sums="