aboutsummaryrefslogtreecommitdiff
path: root/genpass/APKBUILD
diff options
context:
space:
mode:
authorGabriel Arakaki Giovanini <mail@gabrielgio.me>2022-07-30 20:51:36 +0000
committerGabriel Arakaki Giovanini <mail@gabrielgio.me>2022-07-30 20:52:45 +0000
commitef9e52a017b9afa06d398c651050deb86c044819 (patch)
treebf2f2f379ee7df6994d42a961f15c8eb755c0450 /genpass/APKBUILD
parent489049464e09b5bf247adb67d4a3e962bc0a9b5f (diff)
downloadapkbuilds-ef9e52a017b9afa06d398c651050deb86c044819.tar.gz
apkbuilds-ef9e52a017b9afa06d398c651050deb86c044819.tar.bz2
apkbuilds-ef9e52a017b9afa06d398c651050deb86c044819.zip
feat: Add genpass apk build
Diffstat (limited to 'genpass/APKBUILD')
-rw-r--r--genpass/APKBUILD39
1 files changed, 39 insertions, 0 deletions
diff --git a/genpass/APKBUILD b/genpass/APKBUILD
new file mode 100644
index 0000000..06c57d3
--- /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
+"