aboutsummaryrefslogtreecommitdiff
path: root/pkgs/repos/yeetfile.js
blob: cf843201c5f92b9f46ad29c239d06c4117aab721 (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
28
29
rpm.build({
  name: "techaro-repos-stable",
  description: "Repo definitions for stable Techaro packages",
  homepage: "https://techaro.lol",
  license: "MIT",
  goarch: "all",
  version: "1.0.0",

  build: (out) => {
    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`);
    file.install("./techaro-stable.repo", `${out}/etc/yum.repos.d/techaro-stable.repo`);
  },
});

rpm.build({
  name: "techaro-repos-unstable",
  description: "Repo definitions for unstable Techaro packages",
  homepage: "https://techaro.lol",
  license: "MIT",
  goarch: "all",
  version: "1.0.0",

  build: (out) => {
    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`);
    file.install("./techaro-stable.repo", `${out}/etc/yum.repos.d/techaro-stable.repo`);
  },
});