wok view diffuse/receipt @ rev 25603

Update some current_version
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Jul 18 11:43:32 2023 +0000 (10 months ago)
parents 69e1e705f038
children
line source
1 # SliTaz package receipt.
3 PACKAGE="diffuse"
4 VERSION="0.4.8"
5 CATEGORY="utilities"
6 SHORT_DESC="Graphical tool for merging and comparing text files."
7 MAINTAINER="maintainer@slitaz.org"
8 LICENSE="GPLv2+"
9 WEB_SITE="https://sourceforge.net/projects/diffuse/"
11 TARBALL="$PACKAGE-$VERSION.tar.gz"
12 WGET_URL="https://github.com/MightyCreak/diffuse/archive/refs/tags/v$VERSION.tar.gz"
14 DEPENDS="python pygtk"
15 BUILD_DEPENDS="python"
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 ./install.py \
28 --destdir=$install \
29 --prefix=/usr \
30 --files-only
31 }
33 # Rules to gen a SliTaz package suitable for Tazpkg.
34 genpkg_rules()
35 {
36 mkdir -p $fs/usr/share
38 cp -a $install/etc $fs
39 cp -a $install/usr/bin $fs/usr
40 cp -a $install/usr/share/applications $fs/usr/share
41 cp -a $install/usr/share/diffuse $fs/usr/share
42 cp -a $install/usr/share/gnome $fs/usr/share
43 cp -a $install/usr/share/icons $fs/usr/share
44 cp -a $install/usr/share/omf $fs/usr/share
45 }