Question: Configuring paru to pull PKGBUILDs from a custom repository
I want to have a custom repo that only holds PKGBUILDs (and related files if any) and have paru treat it like the aur, is this even possible? if so how?
Currently paru has an AurUrl config which defaults to aur.archlinux.org, I don't want to lose that when I add my own repo which makes me believe even if this is possible I will end up sacrificing the official aur
With that said if a PR to make AurUrl accept more than one url is all whats needed I will give it a shot.
Unless your custom repo is also an AUR instance that won't work. Paru only supports the AUR.
Could you clarify what's an "AUR instance" please.
The aur website.
So this is a milestone for v2, which is still a while off. But as of now this is basically fully functional in paru-git
Add:
[REPONAME]
URL = https://github.com/user/pkgbuilds/
To your paru.conf and there you have it
You will need to run paru -Sya so sync these repos.
You can then install packages with paru -S foo or paru -S REPONAME/foo.
There's a few extra options to configure this.
-
Depthconfigures how deeply to recurse to find pkgbuilds, the default is 3. -
SkipReviewcan be specified in the repo to skip the review process for just that repo`. -
GenerateSrcinfoforce generates srcinfo files, this is for is a repo has outdated srcinfo files. -
Pathcan be specified instead ofGitto point to a local file path.
There's no documentation on this as of yet as it's very much beta, but feel free to test it out.
This works pretty nicely! An important feature it's missing currently is searching.
Also Git isn't a valid option, I've had to replace it with URL
Yeah whoops, forgot the config opinion. The options are URL/Path
Searching should work too. Does it not? Have you synced the repo first?
Actually searching is done but not the interactive search paru foo
Yes I did paru -Sya
I've made this repo for testing
[potato]
URL = https://github.com/RaafatTurki/potato-pkgbuilds
GenerateSrcinfo
paru -S fake-fonts works
but none of
paru -Ss fake-fonts
paru fake-fonts
does
I think it has to do with the generated .SRCINFO, pushing them into the repo is the smart move anyways.
pushed .SRCINFO files into repo and removed GenerateSrcinfo from config, same issue

Works for me. Are you sure you're on the latest git?
Also realising -Sya also does a pacman -Sy when not using local repos... needa fix that.
Ah, it's not in the --bottomup code path whoops. Like I said, very beta :P
Hahah, you're right.
I can do without searching until that gets fixed (also don't forget the interactive search paru foo)
All on all, very cool feature! Fell free to ping me when testing is needed.
That one is fixed now at least :P
interactive search and --upgrade menu are still todo but other than that it's all there.