[aur-general] How to package packages with *-common?

Doug Newgard scimmia at archlinux.info
Mon Apr 13 16:51:26 UTC 2015


On Mon, 13 Apr 2015 17:55:10 +0600
"Konstantin P." <ria.freelander at gmail.com> wrote:

> I am already done this, but I think than Arch guidelines forbids this.

First off, please don't top post. Second, why do you think that?

> 
> On Mon, Apr 13, 2015 at 5:18 PM, LoneVVolf <lonewolf at xs4all.nl> wrote:
> 
> > On 13-04-15 12:12, Konstantin P. wrote:
> >
> >> I have a program with one gsettings schema and 2 binaries. Schema required
> >> for both, but binaries does not require each other. How packaging tech
> >> will
> >> be best?
> >>
> >
> > Assuming you want to be able to install the binaries separately,
> > i'd use a split package with 3 package_ functions
> >
> > package_foo-common() {
> > # schema
> > }
> >
> > package_foo-binary1() {
> > depends = foo-common
> > # first binary
> > }
> >
> > package_foo-2binary() {
> > depends = foo-common
> > # other binary
> > }
> >


More information about the aur-general mailing list