wok annotate vorta/receipt @ rev 24768

libwebkit: bison 3 fix
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Mar 19 12:46:44 2022 +0000 (2022-03-19)
parents 6c18ac466467
children 4349b733ca4a
rev   line source
Hans-G?nter@23851 1 # SliTaz package receipt.
Hans-G?nter@23851 2
Hans-G?nter@23851 3 PACKAGE="vorta"
Hans-G?nter@23851 4 VERSION="0.6.26"
Hans-G?nter@23851 5 CATEGORY="system-tools"
Hans-G?nter@23851 6 SHORT_DESC="GUI for borgbackup."
Hans-G?nter@23851 7 MAINTAINER="maintainer@slitaz.org"
Hans-G?nter@23851 8 LICENSE="GPLv3"
Hans-G?nter@23851 9 TARBALL="$PACKAGE-$VERSION.tar.gz"
Hans-G?nter@23851 10 WEB_SITE="https://vorta.borgbase.com/"
Hans-G?nter@23851 11 WGET_URL="https://github.com/borgbase/$PACKAGE/archive/v$VERSION.tar.gz"
Hans-G?nter@23851 12 TAGS="backup"
Hans-G?nter@23851 13
Hans-G?nter@23851 14 DEPENDS="borgbackup"
Hans-G?nter@23851 15 BUILD_DEPENDS="py3k-dev py3k-setuptools_scm"
Hans-G?nter@23851 16
pascal@24055 17 current_version()
pascal@24055 18 {
pascal@24055 19 wget -O - ${WGET_URL%/arch*}/releases 2>/dev/null | \
pascal@24055 20 sed '/archive.*tar/!d;s|.*/v\(.*\).tar.*|\1|;q'
pascal@24055 21 }
pascal@24055 22
Hans-G?nter@23851 23 # Rules to configure and make the package.
Hans-G?nter@23851 24 compile_rules()
Hans-G?nter@23851 25 {
Hans-G?nter@23851 26 python3 setup.py build &&
Hans-G?nter@23851 27 python3 setup.py install --root=$DESTDIR
Hans-G?nter@23851 28 }
Hans-G?nter@23851 29
Hans-G?nter@23851 30 # Rules to gen a SliTaz package suitable for Tazpkg.
Hans-G?nter@23851 31 genpkg_rules()
Hans-G?nter@23851 32 {
Hans-G?nter@23851 33 cp -a $install/usr $fs
Hans-G?nter@23851 34 }