wok view pinta/receipt @ rev 25601

Update some current_version
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun Jul 16 18:06:38 2023 +0000 (10 months ago)
parents 5ea0ce1cecc0
children
line source
1 # SliTaz package receipt.
3 PACKAGE="pinta"
4 VERSION="1.6"
5 CATEGORY="graphics"
6 SHORT_DESC="Free, open source program for drawing and image editing"
7 MAINTAINER="al.bobylev@gmail.com"
8 LICENSE="MIT"
9 WEB_SITE="https://pinta-project.com/"
10 TARBALL="$PACKAGE-$VERSION.tar.gz"
11 WGET_URL="https://github.com/PintaProject/Pinta/archive/$VERSION.tar.gz"
12 COOKOPTS="!pixmaps"
14 DEPENDS="mono gtk-sharp"
15 BUILD_DEPENDS="automake mono-dev gtk-sharp-dev"
17 # What is the latest version available today?
18 current_version()
19 {
20 wget -O - ${WGET_URL%/arch*}/releases 2>/dev/null | \
21 sed '/tag\//!d;s|.*tag/v*||;s|".*||;q'
22 }
24 # Rules to configure and make the package.
25 compile_rules()
26 {
27 ./autogen.sh
28 make && make install
29 }
31 # Rules to gen a SliTaz package suitable for Tazpkg.
32 genpkg_rules()
33 {
34 cook_copy_files pinta *.dll *.exe *.mo
35 cook_copy_icons 16 32 # 48 is absent
36 }