wok-6.x view razorqt-locale-sl/receipt @ rev 15692

dpkg: Fix missing mkdir command
author Stanislas Leduc <shann@slitaz.org>
date Sat Dec 21 08:21:32 2013 +0100 (2013-12-21)
parents
children 7042a09beaeb
line source
1 # SliTaz package receipt.
3 PACKAGE="razorqt-locale-sl"
4 VERSION="0.5.2"
5 CATEGORY="misc"
6 SHORT_DESC="Slovenian locale for Razor-qt"
7 MAINTAINER="al.bobylev@gmail.com"
8 LICENSE="GPL2 LGPL2.1"
9 WEB_SITE="http://razor-qt.org/"
10 WANTED="razorqt"
12 LOCALE="sl"
14 # Rules to gen a SliTaz package suitable for Tazpkg.
15 genpkg_rules()
16 {
17 cd $install
18 qms=$(find . \( -name "*_$LOCALE.qm" \) -o \( -name "*_${LOCALE}_*.qm" \) | sed 's|^.||')
19 for qm in $qms; do
20 mkdir -p $(dirname $fs$qm)
21 cp -a $install$qm $fs$qm
22 done
23 }