Package Details: papa 4.1.0-1

Git Clone URL: https://aur.archlinux.org/papa.git (read-only, click to copy)
Package Base: papa
Description: Mod manager CLI for Northstar
Upstream URL: https://github.com/AnActualEmerald/papa
Keywords: cargo cli command-line manager mod northstar rust titanfall
Licenses: MIT
Submitter: begin-theadventu
Maintainer: begin-theadventu
Last Packager: begin-theadventu
Votes: 2
Popularity: 0.000000
First Submitted: 2023-03-24 01:23 (UTC)
Last Updated: 2025-03-25 20:03 (UTC)

Dependencies (1)

Required by (0)

Sources (1)

Latest Comments

Static_Rocket commented on 2025-08-16 02:23 (UTC)

Got some recommended changes here. Our toolchain is new enough that we don't need the let_chains feature definition. Also, there are linking issues that require fat-lto-objects.

diff --git a/PKGBUILD b/PKGBUILD
index 5e43e98..8fc9d6b 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -16,10 +16,12 @@ prepare() {
   export CARGO_HOME="$srcdir/CARGO_HOME"
   export RUSTUP_TOOLCHAIN=stable
   cargo fetch --target "$CARCH-unknown-linux-gnu"
+  sed -i '/#!\[feature(let_chains)\]/d' "src/main.rs"
 }

 build() {
   cd papa-$pkgver
+  CFLAGS+=' -ffat-lto-objects'
   export CARGO_HOME="$srcdir/CARGO_HOME"
   export RUSTUP_TOOLCHAIN=stable
   cargo build --release

begin-theadventu commented on 2023-03-24 14:58 (UTC) (edited on 2023-03-24 22:45 (UTC) by begin-theadventu)

@AnActualEmerald I added them, thank you very much! I also added you as a contributor.

AnActualEmerald commented on 2023-03-24 03:53 (UTC)

Should probably add a make dependency for pkgconfig and openssl