From 3ff17954d367868d44215d28b0dbf6752196e1be Mon Sep 17 00:00:00 2001 From: Xe Iaso Date: Sun, 20 Apr 2025 17:05:06 -0400 Subject: package server draft 1 Signed-off-by: Xe Iaso --- pkgs/repos/yeetfile.js | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 pkgs/repos/yeetfile.js (limited to 'pkgs/repos/yeetfile.js') diff --git a/pkgs/repos/yeetfile.js b/pkgs/repos/yeetfile.js new file mode 100644 index 0000000..cf84320 --- /dev/null +++ b/pkgs/repos/yeetfile.js @@ -0,0 +1,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`); + }, +}); \ No newline at end of file -- cgit v1.2.3