Caleb Maclennan pushed to branch main at Arch Linux / Packaging / Packages / 
rustic


Commits:
62657f2a by Caleb Maclennan at 2024-08-22T21:33:06+03:00
upgpkg: 0.8.0-1

- - - - -


2 changed files:

- .SRCINFO
- PKGBUILD


Changes:

=====================================
.SRCINFO
=====================================
@@ -1,7 +1,7 @@
 pkgbase = rustic
        pkgdesc = Fast, encrypted, deduplicated backups powered by Rust (reads 
and writes restic repos)
-       pkgver = 0.7.0
-       pkgrel = 3
+       pkgver = 0.8.0
+       pkgrel = 1
        url = https://github.com/rustic-rs/rustic
        arch = x86_64
        license = Apache-2.0
@@ -12,7 +12,7 @@ pkgbase = rustic
        replaces = rustic-rs
        replaces = rustic-bin
        options = !lto
-       source = 
https://github.com/rustic-rs/rustic/archive/v0.7.0/rustic-0.7.0.tar.gz
-       sha256sums = 
8fb1d80cc3333376a85f79d062bdc0e074e2f50e0b2e89c95907102100f0d277
+       source = 
https://github.com/rustic-rs/rustic/archive/v0.8.0/rustic-0.8.0.tar.gz
+       sha256sums = 
535e89ebe1c3f29f9b69d6fc26cdb98160f9908349ace1df0003137d1593e9bc
 
 pkgname = rustic


=====================================
PKGBUILD
=====================================
@@ -2,8 +2,8 @@
 # contributor: Daniele Basso <d dot bass05 at proton dot me>
 
 pkgname=rustic
-pkgver=0.7.0
-pkgrel=3
+pkgver=0.8.0
+pkgrel=1
 pkgdesc='Fast, encrypted, deduplicated backups powered by Rust (reads and 
writes restic repos)'
 arch=(x86_64)
 url="https://github.com/rustic-rs/$pkgname";
@@ -16,10 +16,12 @@ replaces=(rustic-rs
 options=(!lto)
 _archive="$pkgname-$pkgver"
 source=("$url/archive/v$pkgver/$_archive.tar.gz")
-sha256sums=('8fb1d80cc3333376a85f79d062bdc0e074e2f50e0b2e89c95907102100f0d277')
+sha256sums=('535e89ebe1c3f29f9b69d6fc26cdb98160f9908349ace1df0003137d1593e9bc')
 
 prepare() {
        cd "$_archive"
+       # https://github.com/rustic-rs/rustic/issues/1204
+       sed -i '3355s/0.7.0-dev/0.8.0/' Cargo.lock
        cargo fetch --locked --target "$(rustc -vV | sed -n 's/host: //p')"
 }
 
@@ -28,12 +30,12 @@ build() {
        env \
                CARGO_PROFILE_RELEASE_DEBUG=2 \
                CARGO_PROFILE_RELEASE_STRIP=false \
-       cargo build --frozen --release --no-default-features --features webdav
+       cargo build --frozen --release --no-default-features --features 
webdav,tui
 }
 
 check() {
        cd "$_archive"
-       cargo test --frozen --no-default-features --features webdav
+       cargo test --frozen --no-default-features --features webdav,tui
 }
 
 package() {



View it on GitLab: 
https://gitlab.archlinux.org/archlinux/packaging/packages/rustic/-/commit/62657f2a126f32f64c5b1f4aaafc8be19fb4e73e

-- 
View it on GitLab: 
https://gitlab.archlinux.org/archlinux/packaging/packages/rustic/-/commit/62657f2a126f32f64c5b1f4aaafc8be19fb4e73e
You're receiving this email because of your account on gitlab.archlinux.org.


Reply via email to