wok-next annotate mate-user-guide/receipt @ rev 21013
Small updates
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Sun Oct 14 05:29:23 2018 +0300 (2018-10-14) |
parents | 86938c337ea6 |
children |
rev | line source |
---|---|
al@20096 | 1 # SliTaz package receipt v2. |
al@20096 | 2 |
al@20096 | 3 PACKAGE="mate-user-guide" |
al@20938 | 4 VERSION="1.20.1" |
al@20096 | 5 CATEGORY="doc" |
al@20096 | 6 SHORT_DESC="MATE Desktop User Guide" |
al@20096 | 7 MAINTAINER="al.bobylev@gmail.com" |
al@20096 | 8 LICENSE="FDL1.1" |
al@20096 | 9 WEB_SITE="https://github.com/mate-desktop/mate-user-guide" |
al@21009 | 10 HOST_ARCH="any" |
al@20096 | 11 |
al@20939 | 12 TARBALL="$PACKAGE-$VERSION.tar.xz" |
al@20939 | 13 WGET_URL="http://pub.mate-desktop.org/releases/${VERSION%.*}/$TARBALL" |
al@20096 | 14 |
al@20939 | 15 BUILD_DEPENDS="mate-common yelp-tools itstool glib-dev libxml2-tools" |
al@21009 | 16 SPLIT="$PACKAGE-de $PACKAGE-es $PACKAGE-fr $PACKAGE-it $PACKAGE-pt_BR \ |
al@21009 | 17 $PACKAGE-ru" |
al@20096 | 18 |
al@20096 | 19 compile_rules() { |
al@20939 | 20 ./configure \ |
al@20096 | 21 $CONFIGURE_ARGS && |
al@20096 | 22 make && |
al@21009 | 23 make install || return 1 |
al@21009 | 24 |
al@21009 | 25 fix symlinks |
al@20096 | 26 } |
al@20096 | 27 |
al@20096 | 28 genpkg_rules() { |
al@21009 | 29 case $PACKAGE in |
al@21009 | 30 mate-user-guide) |
al@21009 | 31 copy @std help/C/ |
al@21009 | 32 ;; |
al@21009 | 33 *-de) |
al@21009 | 34 copy help/de/ |
al@21009 | 35 CAT="doc|German" |
al@21009 | 36 DEPENDS="mate-user-guide" |
al@21009 | 37 ;; |
al@21009 | 38 *-es) |
al@21009 | 39 copy help/es/ |
al@21009 | 40 CAT="doc|Spanish" |
al@21009 | 41 DEPENDS="mate-user-guide" |
al@21009 | 42 ;; |
al@21009 | 43 *-fr) |
al@21009 | 44 copy help/fr/ |
al@21009 | 45 CAT="doc|French" |
al@21009 | 46 DEPENDS="mate-user-guide" |
al@21009 | 47 ;; |
al@21009 | 48 *-it) |
al@21009 | 49 copy help/it/ |
al@21009 | 50 CAT="doc|Italian" |
al@21009 | 51 DEPENDS="mate-user-guide" |
al@21009 | 52 ;; |
al@21009 | 53 *-pt_BR) |
al@21009 | 54 copy help/pt_BR/ |
al@21009 | 55 CAT="doc|Brazilian Portuguese" |
al@21009 | 56 DEPENDS="mate-user-guide" |
al@21009 | 57 ;; |
al@21009 | 58 *-ru) |
al@21009 | 59 copy help/ru/ |
al@21009 | 60 CAT="doc|Russian" |
al@21009 | 61 DEPENDS="mate-user-guide" |
al@21009 | 62 ;; |
al@21009 | 63 esac |
al@20096 | 64 TAGS="MATE" |
al@20096 | 65 } |