aboutsummaryrefslogtreecommitdiff
path: root/cryptography/yeetfile.js
blob: 8a51746a9643184113f4282ac44dfb79f2a80257 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
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`);
  },
});