wok annotate gaupol/receipt @ rev 25734

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