diff options
author | Gabriel Arakaki Giovanini <mail@gabrielgio.me> | 2022-07-30 22:02:40 +0000 |
---|---|---|
committer | Gabriel Arakaki Giovanini <mail@gabrielgio.me> | 2022-07-30 22:02:40 +0000 |
commit | 30ba5c2dc7d2da5e1c9892b50de38cc2dd7a85ab (patch) | |
tree | 99c2ffe7209b36cb8a0b1e136c0234fd65966855 | |
parent | ef9e52a017b9afa06d398c651050deb86c044819 (diff) | |
download | apkbuilds-30ba5c2dc7d2da5e1c9892b50de38cc2dd7a85ab.tar.gz apkbuilds-30ba5c2dc7d2da5e1c9892b50de38cc2dd7a85ab.tar.bz2 apkbuilds-30ba5c2dc7d2da5e1c9892b50de38cc2dd7a85ab.zip |
fix: Move to web install
Nothing better than executing script from random place in the internet.
-rw-r--r-- | build.yml | 7 | ||||
-rw-r--r-- | genpass/APKBUILD | 5 |
2 files changed, 9 insertions, 3 deletions
@@ -16,8 +16,11 @@ tasks: - setup: | echo "PACKAGER_PRIVKEY=\"/home/build/.abuild/mail@gabrielgio.me-62ddc4dc.rsa\"" > ~/.abuild/abuild.conf - build: | - cd apkbuilds/"${packages[@]}" - abuild -r + for pkg in "${packages[@]}"; do + cd apkbuilds/"$pkg" + abuild -r + cd .. + done - deploy: | sshopts="ssh -o StrictHostKeyChecking=no" rsync --rsh="$sshopts" -rP ~/packages/apkbuilds/ $deploy:/var/www/$target diff --git a/genpass/APKBUILD b/genpass/APKBUILD index 06c57d3..fd19df7 100644 --- a/genpass/APKBUILD +++ b/genpass/APKBUILD @@ -14,13 +14,16 @@ makedepends=" make npm cargo + openssl-dev + bzip2-dev " builddir="$srcdir/$pkgname-$pkgver/" source="https://artifacts.gabrielgio.me/"$pkgname"/"$pkgname"-"$pkgver".tar.gz" build() { + curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- --profile minimal --quiet -y source $HOME/.cargo/env - #cargo install wasm-pack + curl https://rustwasm.github.io/wasm-pack/installer/init.sh -sSf | sh make } |