diff options
Diffstat (limited to 'cryptography/yeetfile.js')
| -rw-r--r-- | cryptography/yeetfile.js | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/cryptography/yeetfile.js b/cryptography/yeetfile.js new file mode 100644 index 0000000..8a51746 --- /dev/null +++ b/cryptography/yeetfile.js @@ -0,0 +1,27 @@ +rpm.build({ + name: "techaro-repo-keys", + description: "Public keys for techaro.lol RPM packages", + homepage: "https://techaro.lol", + license: "MIT", + goarch: "all", + + build: (out) => { + yeet.run(`mkdir`, `-p`, `${out}/etc/pki/rpm-gpg/techaro.lol-keys`); + file.install("./techaro-pkgs.pub.asc", `${out}/etc/pki/rpm-gpg/techaro.lol-keys/techaro-pkgs.asc`); + file.install("./techaro-root.pub.asc", `${out}/etc/pki/rpm-gpg/techaro.lol-keys/techaro-root.asc`); + }, +}); + +deb.build({ + name: "techaro-repo-keys", + description: "Public keys for techaro.lol RPM packages", + homepage: "https://techaro.lol", + license: "MIT", + goarch: "all", + + build: (out) => { + yeet.run(`mkdir`, `-p`, `${out}/usr/share/keyrings`); + file.install("./techaro-pkgs.pub.asc", `${out}/usr/share/keyrings/techaro-pkgs.asc`); + file.install("./techaro-root.pub.asc", `${out}/usr/share/keyrings/techaro-root.asc`); + }, +});
\ No newline at end of file |
