Leonidas Spyropoulos pushed to branch main at Arch Linux / Packaging / Packages 
/ rustypaste-cli


Commits:
c5171b39 by Acid Xeon at 2025-02-10T15:33:07+00:00
Get target architecture for fetching sources more generically

>From https://wiki.archlinux.org/title/Rust_package_guidelines#Prepare

This allows other architectures to fetch sources with cargo without a patch.
- - - - -
4ae68f91 by Leonidas Spyropoulos at 2025-02-10T15:35:18+00:00
upgpkg: 0.9.2-2: rebuild to align with packaging guideline

- - - - -


2 changed files:

- .SRCINFO
- PKGBUILD


Changes:

=====================================
.SRCINFO
=====================================
@@ -1,7 +1,7 @@
 pkgbase = rustypaste-cli
        pkgdesc = A CLI tool for rustypaste
        pkgver = 0.9.2
-       pkgrel = 1
+       pkgrel = 2
        url = https://github.com/orhun/rustypaste-cli
        arch = x86_64
        license = MIT


=====================================
PKGBUILD
=====================================
@@ -4,7 +4,7 @@
 pkgname='rustypaste-cli'
 pkgdesc="A CLI tool for rustypaste"
 pkgver=0.9.2
-pkgrel=1
+pkgrel=2
 arch=('x86_64')
 url="https://github.com/orhun/rustypaste-cli";
 license=('MIT')
@@ -16,7 +16,7 @@ 
sha256sums=('747c4690631082e3cfbdf7bf4656ac9a76db4ea6bb3f067f24a982ea00f16cc2')
 
 prepare() {
   cd "${pkgname}-${pkgver}"
-  cargo fetch --locked --target "${CARCH}-unknown-linux-gnu"
+  cargo fetch --locked --target "$(rustc -vV | sed -n 's/host: //p')"
 }
 
 build(){



View it on GitLab: 
https://gitlab.archlinux.org/archlinux/packaging/packages/rustypaste-cli/-/compare/8088ea39db9e506b1139ba8f90b6a07ce931c7cc...4ae68f91cf32795a2e3d2c32a2eaaa94137b5682

-- 
View it on GitLab: 
https://gitlab.archlinux.org/archlinux/packaging/packages/rustypaste-cli/-/compare/8088ea39db9e506b1139ba8f90b6a07ce931c7cc...4ae68f91cf32795a2e3d2c32a2eaaa94137b5682
You're receiving this email because of your account on gitlab.archlinux.org.


Reply via email to