wok-6.x annotate drakon-editor/receipt @ rev 24422
updated claws-mail packages (3.17.5 -> 3.18.0)
author | Hans-G?nter Theisgen |
---|---|
date | Fri Feb 11 16:39:51 2022 +0100 (2022-02-11) |
parents | 7310f1493655 |
children | 7dd01dedad38 |
rev | line source |
---|---|
pascal@18653 | 1 # SliTaz package receipt. |
pascal@18653 | 2 |
pascal@18653 | 3 PACKAGE="drakon-editor" |
Hans-G?nter@22740 | 4 VERSION="1.31" |
pascal@18653 | 5 CATEGORY="development" |
Hans-G?nter@22740 | 6 SHORT_DESC="A visual language for specifications from the Russian space program." |
pascal@18653 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@18653 | 8 LICENSE="PublicDomain" |
Hans-G?nter@20852 | 9 WEB_SITE="http://drakon-editor.sourceforge.net/" |
Hans-G?nter@20852 | 10 |
pascal@18653 | 11 TARBALL="drakon_editor$VERSION.zip" |
pascal@18653 | 12 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL" |
pascal@18653 | 13 |
Hans-G?nter@22740 | 14 DEPENDS="libsqlite-tcl libtkimg tcllib tk" |
pascal@18653 | 15 |
pascal@24385 | 16 # What is the latest version available today? |
pascal@24385 | 17 current_version() |
pascal@24385 | 18 { |
pascal@24385 | 19 wget -O - https://sourceforge.net/projects/drakon-editor/files/ 2>/dev/null | \ |
pascal@24385 | 20 sed '/scope="row/!d;/examples/d;s|.*/drakon_editor||;s|.zip.*||;q' |
pascal@24385 | 21 } |
pascal@24385 | 22 |
pascal@18653 | 23 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@18653 | 24 genpkg_rules() |
pascal@18653 | 25 { |
pascal@18653 | 26 mkdir -p $fs/usr/share/applications |
Hans-G?nter@22740 | 27 |
Hans-G?nter@22740 | 28 cp -a $src $fs/usr/share/$PACKAGE |
pascal@18653 | 29 cat > $fs/usr/share/applications/$PACKAGE.desktop <<EOT |
pascal@18653 | 30 [Desktop Entry] |
pascal@18653 | 31 Type=Application |
pascal@18653 | 32 Name=Drakon diagram editor |
pascal@18653 | 33 Name[fr]=Editeur de diagrammes Drakon |
pascal@18653 | 34 Exec=/usr/share/$PACKAGE/drakon_editor.tcl %f |
pascal@18653 | 35 Categories=Development;Building; |
pascal@18653 | 36 EOT |
pascal@18653 | 37 } |