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

LoneVVolf lonewolf at xs4all.nl
Mon Apr 13 11:18:05 UTC 2015


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