# SliTaz package receipt. PACKAGE="qt-locale-sv" VERSION="4.8.7" CATEGORY="localization" SHORT_DESC="Swedish locale for Qt" MAINTAINER="al.bobylev@gmail.com" LICENSE="GPL3 LGPL2.1 FDL other" WEB_SITE="https://qt-project.org/" WANTED="qt4" LOCALE="sv" BOOK="swedish" # Rules to gen a SliTaz package suitable for Tazpkg. genpkg_rules() { usqt=/usr/share/qt/translations mkdir -p $fs$usqt for qm in $(find $install$usqt -name "*_$LOCALE.qm"); do cp -a $install$usqt/${qm##*/} $fs$usqt done if [ x$BOOK != x ]; then usqp=/usr/share/qt/phrasebooks mkdir -p $fs$usqp cp -a $install$usqp/$BOOK.qph $fs$usqp fi }