#Packaging AUR packages for personal package repo

49 messages · Page 1 of 1 (latest)

wanton wind
#

Packaging AUR packages for personal package repo

dusty folio
#

not sure, but i think you can without problems

wanton wind
#

so this is ok so my usecase would also be fine?

#

thers quite a lot of aur packages on here

dusty folio
wanton wind
#

next question

  • do i need a mirror
wanton wind
dusty folio
wanton wind
#

public use but ill probably be the only user (and 2 friends)

dusty folio
wanton wind
#

its a jinja script that reads from a yml file

#

and then parses em

#

then builds em

#

pushes em

dusty folio
wanton wind
#

but its not necessary if 3 people at most use it right?

#

next question:

#
  • how to recursivly get all aur dependencies
dusty folio
#

recursively get aur dependencies?

#

so, like you want to install an aur package which requires other aur packages as dependencies, and you want it to build those automatically beforehand?

wanton wind
#

yea

#

do yay or paru have those ?

dusty folio
#

if yes, you can use yay

wanton wind
#

to build them?

#

without installing

dusty folio
#

without installing?

wanton wind
#

yea

dusty folio
#

by doing yay -S package, it will look for the package, and its dependencies
you might see
AUR Explicit: package-x.x
AUR Dependency: dep1 dep2
Sync dependency: dep3 dep4 dep5

#

it will autoamtically run pacman to install any syc dependencies, and build and install all aur dependencies

#

then build the aur packae and istall it

wanton wind
#

i would want to recurse throu all dependencies then first build (and install ig) the deepest one and then continue doing that

#

yay -Gp aur-package | grep depends -> process in python (or js) -> (package) => pacman -Ss ^$pkname$ => if not exists add to list

unique umbraBOT
#

everyone
Compile Error! Click the errors reaction for more information.
(You may edit your message to recompile.)

wanton wind
#

its not latex aaaa

#

so basically i have these files afterwards

$ ls
pkg  PKGBUILD  shikane-0.2.0-1-x86_64.pkg.tar.zst  shikane-0.2.0.tar.gz  src
dusty folio
#

well from this point on i have no idea

wanton wind
#

ill just hack together some python script idk

minor seal
#

@wanton wind did it work

wanton wind
#

yea buy its hella insecurr

wanton wind
#

I'll parse .SRCINFO s for deps and recursively do that

#

aaaa

minor seal
#

bbbb

wanton wind
#

cccc

minor seal
#

dddd

minor seal
#

dost thu still need help

wanton wind
#

not really

#

and using the plain view directly from aur.archlinux.org also helps, no more git cloning and I also found a python package for scrinfo files