wok diff razorqt-locale-misc/receipt @ rev 16941

gnucash: fix typo
author Richard Dunbar <mojo@slitaz.org>
date Thu Jul 24 02:22:52 2014 +0000 (2014-07-24)
parents
children 7042a09beaeb
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/razorqt-locale-misc/receipt	Thu Jul 24 02:22:52 2014 +0000
     1.3 @@ -0,0 +1,31 @@
     1.4 +# SliTaz package receipt.
     1.5 +
     1.6 +PACKAGE="razorqt-locale-misc"
     1.7 +VERSION="0.5.2"
     1.8 +CATEGORY="misc"
     1.9 +SHORT_DESC="Miscelaneous locales for Razor-qt not included in razorqt-locale-*"
    1.10 +MAINTAINER="al.bobylev@gmail.com"
    1.11 +LICENSE="GPL2 LGPL2.1"
    1.12 +WEB_SITE="http://razor-qt.org/"
    1.13 +WANTED="razorqt"
    1.14 +
    1.15 +LOCALES="cs da de el es fr hu id it pl pt ru sl sv uk zh"
    1.16 +
    1.17 +# Rules to gen a SliTaz package suitable for Tazpkg.
    1.18 +genpkg_rules()
    1.19 +{
    1.20 +	# copy all translations
    1.21 +	cd $install
    1.22 +	qms=$(find . -name "*.qm" | sed 's|^.||')
    1.23 +	for qm in $qms; do
    1.24 +		mkdir -p $(dirname $fs$qm)
    1.25 +		cp -a $install$qm $fs$qm
    1.26 +	done
    1.27 +	# remove translations that exists in razorqt-locale-*
    1.28 +	for locale in $LOCALES; do
    1.29 +		cook razorqt-locale-$locale
    1.30 +		for qm in $(cat $WOK/razorqt-locale-$locale/taz/*/files.list); do
    1.31 +			rm -f $fs$qm
    1.32 +		done
    1.33 +	done
    1.34 +}