You are not logged in.
Pages: 1
Hi,
How can I create a "virtual package" that doesn't have any source code, it only installs other packages. The "gnome" package is an example of the kind of package I want to create. For instance, a package named "desktop" that install both "gnome" and "kde".
Thank you,
Pedro
Offline
I believe that its contains nothing in the build function, but just has the packages you need installed depends.
If they are your packages to modify, you put the name of the meta-package in the groups array, and that/those new group(s) should become installable by name.
Or you could just have a list of packages you like, and feed that to pacman:
pacman -S `cat list1 list2 ...`
maybe xargs, or echo can make a newline-delimited list installable through pacman.
Offline
The way it is done for gnome etc is to just add a "group=('gnome')" line to the PKGBUILD so you can't really add a group afterwards....
vogt's suggestion is about the best you can do. Just have a file listing the packages in your "group" and then do a "pacman -S `cat file`"
Offline
Pages: 1