aboutsummaryrefslogtreecommitdiff
path: root/pkgs/repos/yeetfile.js
diff options
context:
space:
mode:
authorXe Iaso <me@xeiaso.net>2025-04-20 17:05:06 -0400
committerXe Iaso <me@xeiaso.net>2025-04-20 17:05:06 -0400
commit3ff17954d367868d44215d28b0dbf6752196e1be (patch)
tree616d32974998f44cbb30cca83b63a8dea6f04654 /pkgs/repos/yeetfile.js
parentbd1835aa98ce4c27aa2468ba6670f652fdf4abae (diff)
downloadanubis-Xe/pkgserver.tar.xz
anubis-Xe/pkgserver.zip
package server draft 1Xe/pkgserver
Signed-off-by: Xe Iaso <me@xeiaso.net>
Diffstat (limited to 'pkgs/repos/yeetfile.js')
-rw-r--r--pkgs/repos/yeetfile.js29
1 files changed, 29 insertions, 0 deletions
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