APKBUILD examples:Special Subpackages Languages

From Alpine Linux
Revision as of 08:52, 5 January 2012 by Fab (talk | contribs) (Created page with "To keep packages small, languages files (LC_MESSAGES) are places in a seperate -lang subpackages. <pre> ... subpackages="$pkgname-lang" ... </pre> abuild is throwing a warn...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

To keep packages small, languages files (LC_MESSAGES) are places in a seperate -lang subpackages.

...
subpackages="$pkgname-lang"
...

abuild is throwing a warning if it detects tanslation.

>>> WARNING: package*: Found /usr/share/local. Maybe add $pkgname-lang to subpackages?