wok-6.x diff spacefm-lang/receipt @ rev 24697
updated kbd, kbd-base, kbd-busybox and kbd-vlock (2.2.0 -> 2.4.0)
author | Hans-G?nter Theisgen |
---|---|
date | Sun Mar 13 17:45:34 2022 +0100 (2022-03-13) |
parents | |
children |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/spacefm-lang/receipt Sun Mar 13 17:45:34 2022 +0100 1.3 @@ -0,0 +1,29 @@ 1.4 +# SliTaz package receipt. 1.5 + 1.6 +PACKAGE="spacefm-lang" 1.7 +VERSION="1.0.6" 1.8 +CATEGORY="system-tools" 1.9 +TAGS="file-manager" 1.10 +SHORT_DESC="Light, fast and easy to use file manager - localised messages." 1.11 +MAINTAINER="maintainer@slitaz.org" 1.12 +LICENSE="GPL3" 1.13 +WEB_SITE="https://ignorantguru.github.io/spacefm" 1.14 + 1.15 +WANTED="spacefm" 1.16 + 1.17 +HOST_ARCH="any" 1.18 + 1.19 +# Rules to gen a SliTaz package suitable for Tazpkg. 1.20 +genpkg_rules() 1.21 +{ 1.22 + mkdir -p $fs/usr/share/locale 1.23 + 1.24 + # Copy all message files 1.25 + for mf in $install/usr/share/locale/*/LC_MESSAGES/spacefm.mo 1.26 + do 1.27 + lang=${mf/\/LC_MESSAGES\/spacefm.mo/} # remove suffix 1.28 + lang=${lang##*/} # remove prefix 1.29 + mkdir -p $fs/usr/share/locale/$lang/LC_MESSAGES 1.30 + cp -a $mf $fs/usr/share/locale/$lang/LC_MESSAGES 1.31 + done 1.32 +}