tesseract-ocr: set build_style=meta for subpkgs

The subpackages -basic and -all are just lists of
dependencies and thus need to set build_style=meta.
This commit is contained in:
Jürgen Buchmüller 2015-11-17 09:23:57 +01:00
parent fffe6aed37
commit 3f07f3243b
1 changed files with 2 additions and 0 deletions

View File

@ -103,6 +103,7 @@ tesseract-ocr-devel_package() {
tesseract-ocr-basic_package() { tesseract-ocr-basic_package() {
local lang local lang
noarch=yes noarch=yes
build_style=meta
depends="${sourcepkg}>=${version}_${revision}" depends="${sourcepkg}>=${version}_${revision}"
conflicts="tesseract-ocr-all>=0" conflicts="tesseract-ocr-all>=0"
short_desc+=" - basic languages data" short_desc+=" - basic languages data"
@ -114,6 +115,7 @@ tesseract-ocr-basic_package() {
tesseract-ocr-all_package() { tesseract-ocr-all_package() {
local lang local lang
noarch=yes noarch=yes
build_style=meta
depends="${sourcepkg}>=${version}_${revision}" depends="${sourcepkg}>=${version}_${revision}"
conflicts="tesseract-ocr-basic>=0" conflicts="tesseract-ocr-basic>=0"
short_desc+=" - all languages data" short_desc+=" - all languages data"