You are not logged in.
As some PKGBUILDs provide split packages, is there script or something to figure out from which PKGBUILD it came from?
Last edited by solskogen (2025-04-27 13:48:50)
Offline
Something like
expac "%e %n" | awk '$1 != $2'
should get you pretty close, basically you are looking for packages whose package name is different from their pkgbase name
Offline
Thank you!
Offline
Please always remember to mark resolved threads by editing your initial posts subject - so others will know that there's no task left, but maybe a solution to find.
Thanks.
Offline
Or just:
pacman -Sp --print-format %e $PKGNAME
Last edited by Trilby (2025-04-27 13:05:53)
"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman
Offline
Or just:
pacman -Sp --print-format %e $PKGNAME
That gives way more information than I need, so the one from V1del was exactly what I needed.
Offline
Way more information? It literally gives just a single token of the package base and absolutely nothing else. The expac command gives a list of all packages and their base names for which there is a mismatch.
Perhaps I misunderstood your goal - but there's no way my suggestion gave *more* information than requested.
"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman
Offline
it does give more info then needed.
$ pacman -Sp --print-format %e vulkan-radeon
llvm
mesa
$ pacman -Sp --print-format %e opencl-rusticl-mesa-minimal-git
spirv-llvm-translator-minimal-git
libclc-minimal-git
llvm-minimal-git
llvm-minimal-git
mesa-minimal-git
$
first package has mesa as pkgbase, 2nd has mesa-minimal-git as pkgbase .
(haven't tried the expac command)
Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.
clean chroot building not flexible enough ?
Try clean chroot manager by graysky
Offline
No, it doesn't.
[solskogen@cozy ~]$ pacman -Sp --print-format %e zam-plugins-vst
fftw
libsigc++
glslang
gsm
libunibreak
libass
libbluray
libbs2b
libdvdread
libdvdnav
libmodplug
portaudio
libopenmpt
shaderc
libdovi
libplacebo
libsoxr
libvdpau
libvpl
openjpeg2
rubberband
srt
zimg
vapoursynth
vid.stab
vmaf
l-smash
x264
x265
xvidcore
libsodium
libpgm
zeromq
ffmpeg
aubio
cairomm
sdl3
libinstpatch
fluidsynth
glibmm
liblo
raptor
liblrdf
libltc
libev
libwebsockets
serd
zix
sord
lv2
sratom
lilv
pangomm
vamp-plugin-sdk
ardour
zita-convolver
zam-plugins
Offline
Oops! Yes, that all depends on missing dependencies. The proper command would ignore those:
pacman -Spdd --print-format %e ...
"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman
Offline