wok view pypar2/receipt @ rev 25443

Update some web_site
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Sep 03 09:28:15 2022 +0000 (20 months ago)
parents 59547e97954f
children b81ceff0b056
line source
1 # SliTaz package receipt.
3 PACKAGE="pypar2"
4 VERSION="1.4"
5 CATEGORY="development"
6 SHORT_DESC="A graphical frontend for the par2 utility"
7 LICENSE="GPL3"
8 MAINTAINER="pascal.bellard@slitaz.org"
9 TARBALL="$PACKAGE-$VERSION.tar.gz"
10 WEB_SITE="https://web.archive.org/web/20190804084742/http://pypar2.silent-blade.org/"
11 WGET_URL="https://web.archive.org/web/20160423232145/http://pypar2.silent-blade.org/uploads/Main/$TARBALL"
13 DEPENDS="pygtk par2 python-pyxml python-vte"
14 BUILD_DEPENDS="findutils"
16 # What is the latest version available today?
17 current_version()
18 {
19 wget -O - https://tracker.debian.org/pkg/pypar2 2>/dev/null | \
20 sed '/changelog-/!d;s|.*changelog-||;s|-.*||;q'
21 }
23 # Rules to configure and make the package.
24 compile_rules()
25 {
26 make prefix=/usr DESTDIR=$DESTDIR install
27 sdft $install/usr/share/applications/pypar2.desktop \
28 -i -s "Categories=GTK;Utility;"
29 }
31 # Rules to gen a SliTaz package suitable for Tazpkg.
32 genpkg_rules()
33 {
34 cp -a $install/* $fs/
35 rm -rf $fs/usr/share/man $fs/usr/bin/pypar2
36 ln -s /usr/share/pypar2/src/main.py $fs/usr/bin/pypar2
37 }