wok view spacefm-lang/receipt @ rev 24651
updated i2c-tools and i2c-tools-dev (4.1 -> 4.3)
author | Hans-G?nter Theisgen |
---|---|
date | Thu Mar 10 17:14:42 2022 +0100 (2022-03-10) |
parents | |
children |
line source
1 # SliTaz package receipt.
3 PACKAGE="spacefm-lang"
4 VERSION="1.0.6"
5 CATEGORY="system-tools"
6 TAGS="file-manager"
7 SHORT_DESC="Light, fast and easy to use file manager - localised messages."
8 MAINTAINER="maintainer@slitaz.org"
9 LICENSE="GPL3"
10 WEB_SITE="https://ignorantguru.github.io/spacefm"
12 WANTED="spacefm"
14 HOST_ARCH="any"
16 # Rules to gen a SliTaz package suitable for Tazpkg.
17 genpkg_rules()
18 {
19 mkdir -p $fs/usr/share/locale
21 # Copy all message files
22 for mf in $install/usr/share/locale/*/LC_MESSAGES/spacefm.mo
23 do
24 lang=${mf/\/LC_MESSAGES\/spacefm.mo/} # remove suffix
25 lang=${lang##*/} # remove prefix
26 mkdir -p $fs/usr/share/locale/$lang/LC_MESSAGES
27 cp -a $mf $fs/usr/share/locale/$lang/LC_MESSAGES
28 done
29 }