wok-next diff hp15c/receipt @ rev 21596
updated dos2unix (7.4.0 -> 7.4.1)
author | Hans-G?nter Theisgen |
---|---|
date | Wed Jun 24 14:10:06 2020 +0100 (2020-06-24) |
parents | 88f868615836 |
children |
line diff
1.1 --- a/hp15c/receipt Sun Jun 08 15:15:22 2014 +0200 1.2 +++ b/hp15c/receipt Wed Jun 24 14:10:06 2020 +0100 1.3 @@ -1,44 +1,25 @@ 1.4 # SliTaz package receipt. 1.5 1.6 PACKAGE="hp15c" 1.7 -SOURCE="HP-15C" 1.8 VERSION="3.3.00" 1.9 CATEGORY="office" 1.10 -SHORT_DESC="HP-15C emulator." 1.11 +SHORT_DESC="HP-15C emulator" 1.12 MAINTAINER="pascal.bellard@slitaz.org" 1.13 LICENSE="GPL3" 1.14 WEB_SITE="http://hp-15c.homepage.t-online.de/content_web.htm" 1.15 + 1.16 +SOURCE="HP-15C" 1.17 TARBALL="${SOURCE}_${VERSION}_Source.zip" 1.18 WGET_URL="https://goo.gl/aHJxj4" 1.19 1.20 -DEPENDS="tk tcl" 1.21 BUILD_DEPENDS="wget" 1.22 1.23 -# Rules to gen a SliTaz package suitable for Tazpkg. 1.24 -genpkg_rules() 1.25 -{ 1.26 - mkdir -p $fs/usr/share/hp15c $fs/usr/share/applications \ 1.27 - $fs/usr/share/fonts/truetype/ttf-dejavu 1.28 +genpkg_rules() { 1.29 + mkdir -p $fs/usr/share/hp15c $fs/usr/share/fonts/truetype/ttf-dejavu 1.30 cp -a $src/* $fs/usr/share/hp15c 1.31 mv $fs/usr/share/hp15c/HP-15C_Simulator_Font.ttf \ 1.32 $fs/usr/share/fonts/truetype/ttf-dejavu 1.33 - cat > $fs/usr/share/hp15c/HP-15C.sh <<EOT 1.34 -#!/bin/sh 1.35 - 1.36 -cd /usr/share/hp15c 1.37 -tclsh HP-15C.tcl 1.38 -EOT 1.39 - chmod +x $fs/usr/share/hp15c/HP-15C.sh 1.40 - cat > $fs/usr/share/applications/hp15c.desktop <<EOT 1.41 -[Desktop Entry] 1.42 -Encoding=UTF-8 1.43 -Name=HP-15C Calculator 1.44 -Name[fr]=Calculatrice HP-15C 1.45 -Name[pt]=Calculadora HP-15C 1.46 -Exec=/usr/share/hp15c/HP-15C.sh 1.47 -Icon=/usr/share/hp15c/HP-15C.gif 1.48 -Terminal=false 1.49 -Type=Application 1.50 -Categories=Application;Utility; 1.51 -EOT 1.52 + install -Dm755 $stuff/HP-15C.sh $fs/usr/share/hp15c/HP-15C.sh 1.53 + install -Dm644 $stuff/hp15c.desktop $fs/usr/share/applications/hp15c.desktop 1.54 + DEPENDS="tk tcl" 1.55 }