wok-current view diffuse/receipt @ rev 25670

Update firmware-* packages to 20240220
author Stanislas Leduc <shann@slitaz.org>
date Sat Mar 02 21:41:14 2024 +0000 (8 months ago)
parents ad0bc3efbf37
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 - https://sourceforge.net/projects/diffuse/files/diffuse/ 2>/dev/null | \
21 sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \
22 sed '/scope="row/!d;s|.*/diffuse/||;s|/.*||;q'
23 }
25 # Rules to configure and make the package.
26 compile_rules()
27 {
28 ./install.py \
29 --destdir=$install \
30 --prefix=/usr \
31 --files-only
32 }
34 # Rules to gen a SliTaz package suitable for Tazpkg.
35 genpkg_rules()
36 {
37 mkdir -p $fs/usr/share
39 cp -a $install/etc $fs
40 cp -a $install/usr/bin $fs/usr
41 cp -a $install/usr/share/applications $fs/usr/share
42 cp -a $install/usr/share/diffuse $fs/usr/share
43 cp -a $install/usr/share/gnome $fs/usr/share
44 cp -a $install/usr/share/icons $fs/usr/share
45 cp -a $install/usr/share/omf $fs/usr/share
46 }