wok-6.x annotate spacefm-lang/receipt @ rev 23856
codeblocks: use wxWidgets and gcc49
author | Richard Dunbar <mojo@slitaz.org> |
---|---|
date | Tue Jun 16 23:39:15 2020 -0400 (2020-06-16) |
parents | |
children |
rev | line source |
---|---|
Hans-G?nter@23666 | 1 # SliTaz package receipt. |
Hans-G?nter@23666 | 2 |
Hans-G?nter@23666 | 3 PACKAGE="spacefm-lang" |
Hans-G?nter@23666 | 4 VERSION="1.0.6" |
Hans-G?nter@23666 | 5 CATEGORY="system-tools" |
Hans-G?nter@23666 | 6 TAGS="file-manager" |
Hans-G?nter@23666 | 7 SHORT_DESC="Light, fast and easy to use file manager - localised messages." |
Hans-G?nter@23666 | 8 MAINTAINER="maintainer@slitaz.org" |
Hans-G?nter@23666 | 9 LICENSE="GPL3" |
Hans-G?nter@23666 | 10 WEB_SITE="https://ignorantguru.github.io/spacefm" |
Hans-G?nter@23666 | 11 |
Hans-G?nter@23666 | 12 WANTED="spacefm" |
Hans-G?nter@23666 | 13 |
Hans-G?nter@23666 | 14 HOST_ARCH="any" |
Hans-G?nter@23666 | 15 |
Hans-G?nter@23666 | 16 # Rules to gen a SliTaz package suitable for Tazpkg. |
Hans-G?nter@23666 | 17 genpkg_rules() |
Hans-G?nter@23666 | 18 { |
Hans-G?nter@23666 | 19 mkdir -p $fs/usr/share/locale |
Hans-G?nter@23666 | 20 |
Hans-G?nter@23666 | 21 # Copy all message files |
Hans-G?nter@23666 | 22 for mf in $install/usr/share/locale/*/LC_MESSAGES/spacefm.mo |
Hans-G?nter@23666 | 23 do |
Hans-G?nter@23666 | 24 lang=${mf/\/LC_MESSAGES\/spacefm.mo/} # remove suffix |
Hans-G?nter@23666 | 25 lang=${lang##*/} # remove prefix |
Hans-G?nter@23666 | 26 mkdir -p $fs/usr/share/locale/$lang/LC_MESSAGES |
Hans-G?nter@23666 | 27 cp -a $mf $fs/usr/share/locale/$lang/LC_MESSAGES |
Hans-G?nter@23666 | 28 done |
Hans-G?nter@23666 | 29 } |