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


Commits:
a5a7ecec by Caleb Maclennan at 2026-08-18T09:28:09+03:00
upgpkg: 0.11.4-1

- - - - -


2 changed files:

- .SRCINFO
- PKGBUILD


Changes:

=====================================
.SRCINFO
=====================================
@@ -1,18 +1,21 @@
 pkgbase = rustic
        pkgdesc = Fast, encrypted, deduplicated backups powered by Rust (reads 
and writes restic repos)
-       pkgver = 0.11.3
-       pkgrel = 2
+       pkgver = 0.11.4
+       pkgrel = 1
        url = https://github.com/rustic-rs/rustic
        arch = x86_64
        license = Apache-2.0
        license = MIT
        makedepends = cargo
-       depends = libgcc
        depends = glibc
+       depends = libgcc
        replaces = rustic-rs
        replaces = rustic-bin
        options = !lto
-       source = 
https://github.com/rustic-rs/rustic/archive/v0.11.3/rustic-0.11.3.tar.gz
-       sha256sums = 
abbafea18ea56f486a68f186bb139b0e8e8d002bb5cd897ed148cf7817a8ed73
+       source = 
https://github.com/rustic-rs/rustic/archive/v0.11.4/rustic-0.11.4.tar.gz
+       sha256sums = 
ea1796a66c22e2cd0232ee4d3e18cf95c7eb8608a465481023a6422f4720d2c3
 
 pkgname = rustic
+       depends = glibc
+       depends = libgcc
+       depends = libgcc_s.so


=====================================
PKGBUILD
=====================================
@@ -2,38 +2,44 @@
 # contributor: Daniele Basso <d dot bass05 at proton dot me>
 
 pkgname=rustic
-pkgver=0.11.3
-pkgrel=2
+pkgver=0.11.4
+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";
 license=(Apache-2.0 MIT)
-depends=(
-  libgcc
-  glibc
-) # libc.so libm.so
+depends=(glibc # libc.so libm.so
+         libgcc)
 makedepends=(cargo)
 replaces=(rustic-rs
           rustic-bin)
 options=(!lto)
 _archive="$pkgname-$pkgver"
 source=("$url/archive/v$pkgver/$_archive.tar.gz")
-sha256sums=('abbafea18ea56f486a68f186bb139b0e8e8d002bb5cd897ed148cf7817a8ed73')
+sha256sums=('ea1796a66c22e2cd0232ee4d3e18cf95c7eb8608a465481023a6422f4720d2c3')
 
-prepare() {
+_srcenv() {
        cd "$_archive"
-       cargo fetch --locked --target "$(rustc --print host-tuple)"
+       export CARGO_HOME="$srcdir"
+       export CARGO_PROFILE_RELEASE_DEBUG=2
+       export CARGO_PROFILE_RELEASE_STRIP=false
+       export CARGO_PROFILE_RELEASE_LTO=thin
+       export CARGO_PROFILE_RELEASE_CODEGEN_UNITS=1
+       export CARGO_PROFILE_RELEASE_OPT_LEVEL=3
+}
+
+prepare() {
+       _srcenv
+       cargo fetch --locked --target host-tuple
 }
 
 build() {
-       cd "$_archive"
-       export CARGO_PROFILE_RELEASE_DEBUG=2
-       export CARGO_PROFILE_RELEASE_STRIP=false
+       _srcenv
        cargo build --frozen --release
 }
 
 check() {
-       cd "$_archive"
+       _srcenv
        local skipped=(
                # Assumes system has a locale not generated in our chroot
                test_backup_and_check_passes
@@ -42,6 +48,7 @@ check() {
 }
 
 package() {
+       depends+=(libgcc_s.so)
        cd "$_archive"
        local _bin="target/release/$pkgname"
        install -Dm0755 -t "$pkgdir/usr/bin/" "$_bin"



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

-- 
View it on GitLab: 
https://gitlab.archlinux.org/archlinux/packaging/packages/rustic/-/commit/a5a7ecec9e244e6f8dc28bf14e393acbf6cd59cf
You're receiving this email because of your account on gitlab.archlinux.org. 
Manage all notifications: https://gitlab.archlinux.org/-/profile/notifications 
| Help: https://gitlab.archlinux.org/help


Reply via email to