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

Konstantin P. ria.freelander at gmail.com
Mon Apr 13 11:55:10 UTC 2015


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

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