You are not logged in.

#1 2025-03-17 19:48:09

existnt
Member
Registered: 2025-03-17
Posts: 4

Downloading PKGBUILDs in bulk

I'm trying to create my own OS, and in doing so I have to make a custom repo for AUR packages which need to be installed, such as KDE packages and Wayland packages. So far, the only process I've found to work has been to manually download the PKGBUILDs one at a time, either from pkgctl or from the website, and then make the package. However, since there are well over 500 packages which I need to install, this feels like a very inefficient process which can't be the best way of carrying this out. Is there any way to automate this process, or otherwise is there a repo somewhere with db or pkg files for KDE/Wayland/etc which I can manually download?

Offline

#2 2025-03-17 20:33:44

mackin_cheese
Member
Registered: 2025-01-07
Posts: 477

Re: Downloading PKGBUILDs in bulk

pretty sure you can just create a script using pkgctl and loop statements

Offline

#3 2025-03-17 20:40:11

gromit
Administrator
From: Germany
Registered: 2024-02-10
Posts: 1,525
Website

Re: Downloading PKGBUILDs in bulk

"pkgctl repo clone" takes one or more inputs, so you can just have one call downloading all the PKGBUILDs that you need smile
Just note that we only have one of these repos per packagebase, so cloning split packages will not work as there is no repo for them. You'll need to resolve them to their packagebase with something like "expac"

Offline

#4 2025-03-17 21:12:34

existnt
Member
Registered: 2025-03-17
Posts: 4

Re: Downloading PKGBUILDs in bulk

Is there any way of automating the makepkg process?

Offline

#5 2025-03-17 21:16:29

gromit
Administrator
From: Germany
Registered: 2024-02-10
Posts: 1,525
Website

Re: Downloading PKGBUILDs in bulk

existnt wrote:

Is there any way of automating the makepkg process?

Define "automating"?

Offline

#6 2025-03-17 21:24:31

existnt
Member
Registered: 2025-03-17
Posts: 4

Re: Downloading PKGBUILDs in bulk

Similarly to the "pkgctl repo clone" - can makepkg take multiple args?

Offline

#7 2025-03-17 21:27:29

existnt
Member
Registered: 2025-03-17
Posts: 4

Re: Downloading PKGBUILDs in bulk

Also - is there a config file to change the output folder of pkgctl?

Offline

#8 2025-03-17 21:41:08

mackin_cheese
Member
Registered: 2025-01-07
Posts: 477

Re: Downloading PKGBUILDs in bulk

If you're asking all these questions without diving deep into the man pages of both pkgctl and makepkg, AND scripting,

you're going ot have a bad time on developing your OS

Offline

Board footer

Powered by FluxBB