Package Details: resticprofile 0.26.0-1

Git Clone URL: https://aur.archlinux.org/resticprofile.git (read-only, click to copy)
Package Base: resticprofile
Description: Configuration profiles manager and scheduler for restic backup
Upstream URL: https://github.com/creativeprojects/resticprofile
Licenses: GPL3
Submitter: metalspork
Maintainer: yan12125 (lilac)
Last Packager: lilac
Votes: 7
Popularity: 1.10
First Submitted: 2021-02-09 03:30 (UTC)
Last Updated: 2024-02-21 05:15 (UTC)

Latest Comments

yan12125 commented on 2024-01-06 05:23 (UTC)

Hmm, what's the benefit of avoiding Internet connection in build() while still allowing it in prepare()? In either cases, downloaded sources are not directly verified by makepkg. (still verified indirectly via go.sum included in the tarball in this case)

dreieck commented on 2024-01-05 14:48 (UTC)

Can you please move all that (go-specific) download stuff out from build() into prepare(), so that no internet connection is needed in build() and package()?:

==> Starting build()...
go: downloading github.com/coreos/go-systemd/v22 v22.5.0
go: downloading github.com/creativeprojects/clog v0.14.0
go: downloading github.com/creativeprojects/go-selfupdate v1.1.2
go: downloading github.com/distatus/battery v0.11.0
[...]

Regards and thanks for maintaining!

yan12125 commented on 2023-09-30 02:49 (UTC)

FWIW, here is a working PKGBUILD for 0.23.0

diff --git PKGBUILD PKGBUILD
index a3a2d1c..ba393f7 100644
--- PKGBUILD
+++ PKGBUILD
@@ -2,8 +2,8 @@
 # Contributor: Kyle Brennan <kyle@metalspork.xyz>

 pkgname=resticprofile
-pkgver=0.19.0
-_commit_hash="01bbd7852d09fc05fcbda22ace207b315550c741"
+pkgver=0.23.0
+_commit_hash="1024189afa2ffc59f3bf1025db732b674988844c"
 pkgrel=1
 pkgdesc="Configuration profiles manager and scheduler for restic backup"
 arch=("x86_64")
@@ -13,7 +13,7 @@ depends=("glibc" "restic")
 makedepends=("go")
 options=(!lto)
 source=("https://github.com/creativeprojects/resticprofile/archive/v${pkgver}.tar.gz")
-sha256sums=("304c370965735be61d0947d13bef18099a9cc1754bb7bd38350f690c057e808d")
+sha256sums=('d7e92c931f09e849eef935a9ebf4887274ae7d95395e11a43ed7291e4493419d')

 build() {
     cd "resticprofile-${pkgver}"

faisalm commented on 2021-10-14 03:39 (UTC)

Upgrade to 0.15.0 just requires a change to the version and sha256sum in the PKGBUILD.

diff --git a/PKGBUILD b/PKGBUILD
index 91e5b2d..17b6d16 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,6 +1,6 @@
 # Maintainer: Kyle Brennan <kyle@metalspork.xyz>
 pkgname=resticprofile
-pkgver=0.11.0
+pkgver=0.15.0
 pkgrel=1
 pkgdesc='Configuration profiles for restic backup'
 arch=('x86_64')
@@ -10,7 +10,7 @@ depends=('glibc' 'restic')
 makedepends=('git' 'make' 'go')
 provides=('resticprofile')
 source=("https://github.com/creativeprojects/resticprofile/archive/v$pkgver.tar.gz")
-sha256sums=('219d2c5155d23a3a6816fb6028639e70861fb03dccef0e5b54cf8b081b61b30b')
+sha256sums=('10e7335b821d6e1399bd1f718eed5c1b726a8210fd36f20338cd0b4e2211efd4')

 importpath='github.com/restic/resticprofile'