Artix Linux Forum

Artix Linux => Package management => Topic started by: ni0nrtvc on 07 October 2024, 22:45:18

Title: nvidia-dkms PKGBUILD/sources?
Post by: ni0nrtvc on 07 October 2024, 22:45:18
Hi all,
I cannot find the PKGBUILD and other source files for the nvidia-dkms package on https://gitea.artixlinux.org/packages (https://gitea.artixlinux.org/packages)
Are they not available or am I looking in the wrong place?
Title: Re: nvidia-dkms PKGBUILD/sources?
Post by: LemonPie on 08 October 2024, 02:56:17
click on source files link in packages list (https://packages.artixlinux.org/packages/world/x86_64/nvidia-dkms/)

https://gitea.artixlinux.org/packages/nvidia-utils
Title: Re: nvidia-dkms PKGBUILD/sources?
Post by: gripped on 08 October 2024, 15:42:39
Other ways to get what is called the 'pkgbase' for a 'split package' include:

Install expac and  use its %e option
Code: [Select]
$ expac %e amd-ucode
linux-firmware

Look it up in the local database
Code: [Select]
$ cat /var/lib/pacman/local/amd-ucode-*/desc | grep -A 1 %BASE%
%BASE%
linux-firmware

I've never quite understood why pacman -Qii doesn't show this detail ?
Title: Re: nvidia-dkms PKGBUILD/sources?
Post by: kiblaster on 08 October 2024, 18:02:36
You can put this in your ~/.bash_rc as an alias or make a script:
Code: [Select]
pacman-source() (
  git clone https://gitea.artixlinux.org/packages/$1
)
Then "pacman-source <package>" that may not work for a few that have a different name.
This was said by gripped somewhere.