From 2995a9b6c218dbb06b48306f63cc434206e725f6 Mon Sep 17 00:00:00 2001 From: dkwo Date: Mon, 6 Jun 2022 16:17:55 +0200 Subject: [PATCH] duplicity: update to 0.8.23, split subpkg, update homepage --- srcpkgs/duplicity-doc | 1 + srcpkgs/duplicity/template | 21 ++++++++++++--------- 2 files changed, 13 insertions(+), 9 deletions(-) create mode 120000 srcpkgs/duplicity-doc diff --git a/srcpkgs/duplicity-doc b/srcpkgs/duplicity-doc new file mode 120000 index 000000000000..3c49d7bc8b8b --- /dev/null +++ b/srcpkgs/duplicity-doc @@ -0,0 +1 @@ +duplicity \ No newline at end of file diff --git a/srcpkgs/duplicity/template b/srcpkgs/duplicity/template index 7098a587a79d..afb1eeabaf66 100644 --- a/srcpkgs/duplicity/template +++ b/srcpkgs/duplicity/template @@ -1,7 +1,7 @@ # Template file for 'duplicity' pkgname=duplicity -version=0.8.20 -revision=2 +version=0.8.23 +revision=1 build_style=python3-module hostmakedepends="gettext python3-setuptools_scm" makedepends="python3-devel librsync-devel" @@ -11,12 +11,15 @@ checkdepends="$depends python3-pytest python3-mock python3-pexpect short_desc="Encrypted bandwidth-efficient backup using the rsync algorithm" maintainer="Orphaned " license="GPL-2.0-or-later" -homepage="http://duplicity.nongnu.org/" -changelog="http://duplicity.nongnu.org/vers8/CHANGELOG.md" -distfiles="http://launchpad.net/duplicity/${version%.*}-series/${version}/+download/duplicity-${version}.tar.gz" -checksum=bbe4679d37cc5523c2302d6d7933d32f365f7c9aea7ffc7827c45e3b7b2d2234 +homepage="https://duplicity.gitlab.io" +changelog="${homepage}/vers8/CHANGELOG.html" +distfiles="https://launchpad.net/duplicity/${version%.*}-series/${version}/+download/duplicity-${version}.tar.gz" +checksum=b24aec0df4849a71de64b743fe9957f09bb80259898e455bdc612c78bdb374e2 -post_install() { - # drop doc - rm -rf ${DESTDIR}/usr/share/doc +duplicity-doc_package() { + short_desc+=" - documentation" + depends="${sourcepkg}>=${version}_${revision}" + pkg_install() { + vmove usr/share/doc + } }