wok-next diff mate-user-guide/receipt @ rev 21727
created recipe for vbindiff
author | Hans-G?nter Theisgen |
---|---|
date | Sat Nov 21 14:32:44 2020 +0100 (2020-11-21) |
parents | 86938c337ea6 |
children |
line diff
1.1 --- a/mate-user-guide/receipt Sun Aug 26 09:13:55 2018 +0300 1.2 +++ b/mate-user-guide/receipt Sat Nov 21 14:32:44 2020 +0100 1.3 @@ -7,20 +7,59 @@ 1.4 MAINTAINER="al.bobylev@gmail.com" 1.5 LICENSE="FDL1.1" 1.6 WEB_SITE="https://github.com/mate-desktop/mate-user-guide" 1.7 +HOST_ARCH="any" 1.8 1.9 TARBALL="$PACKAGE-$VERSION.tar.xz" 1.10 WGET_URL="http://pub.mate-desktop.org/releases/${VERSION%.*}/$TARBALL" 1.11 1.12 BUILD_DEPENDS="mate-common yelp-tools itstool glib-dev libxml2-tools" 1.13 +SPLIT="$PACKAGE-de $PACKAGE-es $PACKAGE-fr $PACKAGE-it $PACKAGE-pt_BR \ 1.14 +$PACKAGE-ru" 1.15 1.16 compile_rules() { 1.17 ./configure \ 1.18 $CONFIGURE_ARGS && 1.19 make && 1.20 - make install 1.21 + make install || return 1 1.22 + 1.23 + fix symlinks 1.24 } 1.25 1.26 genpkg_rules() { 1.27 - copy @std help/C/ 1.28 + case $PACKAGE in 1.29 + mate-user-guide) 1.30 + copy @std help/C/ 1.31 + ;; 1.32 + *-de) 1.33 + copy help/de/ 1.34 + CAT="doc|German" 1.35 + DEPENDS="mate-user-guide" 1.36 + ;; 1.37 + *-es) 1.38 + copy help/es/ 1.39 + CAT="doc|Spanish" 1.40 + DEPENDS="mate-user-guide" 1.41 + ;; 1.42 + *-fr) 1.43 + copy help/fr/ 1.44 + CAT="doc|French" 1.45 + DEPENDS="mate-user-guide" 1.46 + ;; 1.47 + *-it) 1.48 + copy help/it/ 1.49 + CAT="doc|Italian" 1.50 + DEPENDS="mate-user-guide" 1.51 + ;; 1.52 + *-pt_BR) 1.53 + copy help/pt_BR/ 1.54 + CAT="doc|Brazilian Portuguese" 1.55 + DEPENDS="mate-user-guide" 1.56 + ;; 1.57 + *-ru) 1.58 + copy help/ru/ 1.59 + CAT="doc|Russian" 1.60 + DEPENDS="mate-user-guide" 1.61 + ;; 1.62 + esac 1.63 TAGS="MATE" 1.64 }