wok view pinta/receipt @ rev 24102

Add some current_version
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri Sep 17 10:35:57 2021 +0000 (2021-09-17)
parents e54ac42d7a86
children 0262035dc1e7
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 current_version()
18 {
19 wget -O - ${WGET_URL%/arch*}/releases 2>/dev/null | \
20 sed '/archive.*tar/!d;s|.*/\(.*\).tar.*|\1|;q'
21 }
23 # Rules to configure and make the package.
24 compile_rules()
25 {
26 ./autogen.sh
27 make && make install
28 }
30 # Rules to gen a SliTaz package suitable for Tazpkg.
31 genpkg_rules()
32 {
33 cook_copy_files pinta *.dll *.exe *.mo
34 cook_copy_icons 16 32 # 48 is absent
35 }