wok view sozi/receipt @ rev 25690
mmv: inserted current_version()
author | Hans-G?nter Theisgen |
---|---|
date | Mon Apr 15 15:20:24 2024 +0100 (7 months ago) |
parents | 3e075bf0378a |
children |
line source
1 # SliTaz package receipt.
3 PACKAGE="sozi"
4 VERSION="13.11-30213629"
5 CATEGORY="graphics"
6 SHORT_DESC="A small program that can play animated presentations."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="GPL3"
9 WEB_SITE="https://github.com/senshu/Sozi"
10 TARBALL="$PACKAGE-release-$VERSION.zip"
11 WGET_URL="https://github.com/sozi-projects/Sozi/releases/download/${VERSION%-*}/$TARBALL"
13 DEPENDS="inkscape python pygtk python-lxml"
14 BUILD_DEPENDS="wget"
16 # What is the latest version available today?
17 current_version()
18 {
19 wget -O - $WEB_SITE/releases 2>/dev/null | \
20 sed '/tag\//!d;/-rc[0-9]/d;/-beta/d;s|.*tag/[A-Za-z_-]*||;s|".*||;q'
21 }
23 # Rules to configure and make the package.
24 compile_rules()
25 {
26 cd $src
27 }
29 # Rules to gen a SliTaz package suitable for Tazpkg.
30 genpkg_rules()
31 {
32 mkdir -p $fs/usr/share/inkscape/extensions
33 cp -a $src/* $fs/usr/share/inkscape/extensions/
34 }