You are not logged in.

#1 2008-02-26 18:48:05

kroger
Member
Registered: 2008-02-26
Posts: 1

Virtual package

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

#2 2008-02-27 06:28:12

vogt
Member
From: Toronto, Canada
Registered: 2006-11-25
Posts: 389

Re: Virtual package

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

#3 2008-02-27 06:35:47

Allan
Pacman
From: Brisbane, AU
Registered: 2007-06-09
Posts: 11,400
Website

Re: Virtual package

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

Board footer

Powered by FluxBB