Caleb Maclennan pushed to branch main at Arch Linux / Packaging / Packages /
rage-encryption
Commits:
6406cbb5 by Caleb Maclennan at 2026-07-13T11:24:12+03:00
upgpkg: 0.12.0-1
- - - - -
2 changed files:
- .SRCINFO
- PKGBUILD
Changes:
=====================================
.SRCINFO
=====================================
@@ -1,6 +1,6 @@
pkgbase = rage-encryption
pkgdesc = Rust implementation of the age encryption tool
- pkgver = 0.11.2
+ pkgver = 0.12.0
pkgrel = 1
url = https://github.com/str4d/rage
arch = x86_64
@@ -16,10 +16,10 @@ pkgbase = rage-encryption
depends = fuse3
depends = libgcc
depends = glibc
- provides = rust-rage=0.11.2
+ provides = rust-rage=0.12.0
conflicts = rage
replaces = rust-rage
- source =
https://github.com/str4d/rage/archive/v0.11.2/rage-0.11.2.tar.gz
- sha256sums =
a8e5c57f131683f86957af7fddeccf61a3882383dd24e752bab3855f570c086c
+ source =
https://github.com/str4d/rage/archive/v0.12.0/rage-0.12.0.tar.gz
+ sha256sums =
fb5255ff9faa944a15a128f812499cd5c08e6155790e284af34c914cbc3d0103
pkgname = rage-encryption
=====================================
PKGBUILD
=====================================
@@ -3,7 +3,7 @@
pkgname=rage-encryption
_pkgname=${pkgname%-*}
-pkgver=0.11.2
+pkgver=0.12.0
pkgrel=1
pkgdesc='Rust implementation of the age encryption tool'
arch=(x86_64 i686 arm armv6h armv7h aarch64)
@@ -21,21 +21,31 @@ replaces=(rust-rage)
provides=("rust-rage=$pkgver")
_archive="$_pkgname-$pkgver"
source=("$url/archive/v$pkgver/$_archive.tar.gz")
-sha256sums=('a8e5c57f131683f86957af7fddeccf61a3882383dd24e752bab3855f570c086c')
+sha256sums=('fb5255ff9faa944a15a128f812499cd5c08e6155790e284af34c914cbc3d0103')
-prepare() {
+_srcenv() {
cd "$_archive"
- cargo fetch --locked --target "$(rustc --print host-tuple)"
+ export CARGO_PROFILE_RELEASE_DEBUG=2
+ export CARGO_PROFILE_RELEASE_STRIP=false
+ export CARGO_HOME="$srcdir"
+ export CARGO_PROFILE_RELEASE_LTO=true
+ export CARGO_PROFILE_RELEASE_CODEGEN_UNITS=1
+ export CARGO_PROFILE_RELEASE_OPT_LEVEL=3
+ export CFLAGS+=' -ffat-lto-objects'
+}
+
+prepare() {
+ _srcenv
+ cargo fetch --locked --target host-tuple
}
build() {
- cd "$_archive"
- export CFLAGS+=" -ffat-lto-objects"
+ _srcenv
cargo build --frozen --release --all-features
}
check() {
- cd "$_archive"
+ _srcenv
cargo test --frozen --all-features
}
View it on GitLab:
https://gitlab.archlinux.org/archlinux/packaging/packages/rage-encryption/-/commit/6406cbb56eb4eae1318c73b8e2350863c47330c1
--
View it on GitLab:
https://gitlab.archlinux.org/archlinux/packaging/packages/rage-encryption/-/commit/6406cbb56eb4eae1318c73b8e2350863c47330c1
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