wok diff gperiodic/receipt @ rev 23382
updated perl-number-compare (0.01 -> 0.03)
author | Hans-G?nter Theisgen |
---|---|
date | Tue Mar 31 14:53:05 2020 +0100 (2020-03-31) |
parents | a78610b2eb47 |
children | 932cd974e081 |
line diff
1.1 --- a/gperiodic/receipt Mon Jan 21 12:26:11 2019 +0100 1.2 +++ b/gperiodic/receipt Tue Mar 31 14:53:05 2020 +0100 1.3 @@ -1,14 +1,15 @@ 1.4 # SliTaz package receipt. 1.5 1.6 PACKAGE="gperiodic" 1.7 -VERSION="2.0.10" 1.8 +VERSION="3.0.3" 1.9 CATEGORY="misc" 1.10 -SHORT_DESC="A periodic table element" 1.11 +SHORT_DESC="A periodic table element." 1.12 MAINTAINER="erjo@slitaz.org" 1.13 LICENSE="GPL2" 1.14 +WEB_SITE="https://sourceforge.net/projects/gperiodic/" 1.15 + 1.16 TARBALL="$PACKAGE-$VERSION.tar.gz" 1.17 -WEB_SITE="https://www.frantz.fi/software/gperiodic.php" 1.18 -WGET_URL="https://www.frantz.fi/software/$TARBALL" 1.19 +WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL" 1.20 1.21 DEPENDS="gtk+ xorg-libXdamage" 1.22 BUILD_DEPENDS="gtk+-dev" 1.23 @@ -16,7 +17,6 @@ 1.24 # Rules to configure and make the package. 1.25 compile_rules() 1.26 { 1.27 - cd $src 1.28 sed -i 's| GtkTooltips| struct _GtkTooltips|' gperiodic.h 1.29 make 1.30 } 1.31 @@ -24,12 +24,33 @@ 1.32 # Rules to gen a SliTaz package suitable for Tazpkg. 1.33 genpkg_rules() 1.34 { 1.35 - mkdir -p $fs/usr/bin $fs/usr/share/applications \ 1.36 - $fs/usr/share/pixmaps $fs/usr/share/locale/fr/LC_MESSAGES 1.37 + mkdir -p $fs/usr/bin \ 1.38 + $fs/usr/share/applications \ 1.39 + $fs/usr/share/pixmaps \ 1.40 + $fs/usr/share/locale 1.41 1.42 - cp -a $src/gperiodic $fs/usr/bin 1.43 - cp -a $src/po/fr.mo $fs/usr/share/locale/fr/LC_MESSAGES/gperiodic.mo 1.44 - cp -a $src/gperiodic.desktop $fs/usr/share/applications 1.45 - cp -a $src/gperiodic.png $fs/usr/share/pixmaps 1.46 + cp -a $src/gperiodic $fs/usr/bin 1.47 + cp -a $src/gperiodic.desktop $fs/usr/share/applications 1.48 + cp -a $src/icons/gperiodic.png $fs/usr/share/pixmaps 1.49 + 1.50 + # locales 1.51 + LOCALE="ca da de es fr id it pl pt_BR ru sv uk zh_CN" 1.52 + for locale in $LOCALE 1.53 + do 1.54 + if [ -e $src/po/$locale.mo ] 1.55 + then 1.56 + mkdir -p $fs/usr/share/locale/$locale/LC_MESSAGES 1.57 + cp -a $src/po/$locale.mo \ 1.58 + $fs/usr/share/locale/$locale/LC_MESSAGES/gperiodic.mo 1.59 + fi 1.60 + done 1.61 } 1.62 1.63 + 1.64 + 1.65 + 1.66 + 1.67 + 1.68 + 1.69 + 1.70 +: