wok view gaupol/receipt @ rev 25689

updated mmv (1.01b-18 -> 2.6)
author Hans-G?nter Theisgen
date Sat Apr 13 10:48:47 2024 +0100 (6 months ago)
parents 5ea0ce1cecc0
children
line source
1 # SliTaz package receipt.
3 PACKAGE="gaupol"
4 VERSION="1.7"
5 CATEGORY="multimedia"
6 SHORT_DESC="An editor for text-based subtitle files."
7 MAINTAINER="claudinei@slitaz.org"
8 LICENSE="GPL3"
9 WEB_SITE="https://otsaloma.io/gaupol/"
11 TARBALL="$PACKAGE-$VERSION.tar.gz"
12 WGET_URL="https://github.com/otsaloma/$PACKAGE/archive/$VERSION.tar.gz"
14 SUGGESTED="mplayer"
15 DEPENDS="py3k pygtk"
16 BUILD_DEPENDS="gettext intltool py3k-dev"
18 # What is the latest version available today?
19 current_version()
20 {
21 wget -O - ${WGET_URL%/arch*}/releases 2>/dev/null | \
22 sed '/tag\//!d;s|.*tag/v*||;s|".*||;q'
23 }
25 # Rules to configure and make the package.
26 compile_rules()
27 {
28 python3 setup.py clean install --prefix=$install/usr
29 }
31 # Rules to gen a SliTaz package suitable for Tazpkg.
32 genpkg_rules()
33 {
34 PYTHON_LIB=python$(grep ^VERSION= $WOK/py3k/receipt | sed 's/.*"\(...\).*/\1/')
35 sed -i 's|/home/slitaz/wok/gaupol/install||g' \
36 $install/usr/lib/$PYTHON_LIB/site-packages/aeidon/paths.py
38 cp -a $install/usr $fs
39 }