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


Commits:
74c17924 by Caleb Maclennan at 2023-12-04T22:27:48+03:00
upgpkg: 1.16.0-2: Package man page, fixes #1

- - - - -


2 changed files:

- .SRCINFO
- PKGBUILD


Changes:

=====================================
.SRCINFO
=====================================
@@ -1,7 +1,7 @@
 pkgbase = just
        pkgdesc = A handy way to save and run project-specific commands
        pkgver = 1.16.0
-       pkgrel = 1
+       pkgrel = 2
        url = https://github.com/casey/just
        arch = x86_64
        license = custom:CC0


=====================================
PKGBUILD
=====================================
@@ -4,7 +4,7 @@
 
 pkgname=just
 pkgver=1.16.0
-pkgrel=1
+pkgrel=2
 pkgdesc="A handy way to save and run project-specific commands"
 arch=("x86_64")
 url="https://github.com/casey/just";
@@ -16,7 +16,7 @@ 
sha256sums=('80c07b7a92b24ac9661fa312f287f0900bbe19b9c3a2f4c2739a2f242a5558f9')
 
 prepare() {
   cd "${pkgname}-${pkgver}"
-  cargo fetch --locked --target "$CARCH-unknown-linux-gnu"
+  cargo fetch --locked --target "$(rustc -vV | sed -n 's/host: //p')"
 }
 
 build() {
@@ -31,8 +31,9 @@ check() {
 
 package() {
   cd "${pkgname}-${pkgver}"
-  install -Dm755 "target/release/${pkgname}" "${pkgdir}/usr/bin/${pkgname}"
-  install -Dm644 "LICENSE" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+  install -Dm755 -t "${pkgdir}/usr/bin/${pkgname}" "target/release/${pkgname}"
+  install -Dm644 -t "${pkgdir}/usr/share/man/man1/" "man/${pkgname}.1"
+  install -Dm644 -t "${pkgdir}/usr/share/licenses/${pkgname}/" "LICENSE"
   install -Dm644 "completions/just.zsh" 
"${pkgdir}/usr/share/zsh/site-functions/_just"
   install -Dm644 "completions/just.bash" 
"${pkgdir}/usr/share/bash-completion/completions/just"
   install -Dm644 "completions/just.fish" 
"${pkgdir}/usr/share/fish/vendor_completions.d/just.fish"



View it on GitLab: 
https://gitlab.archlinux.org/archlinux/packaging/packages/just/-/commit/74c17924453aab76f1450d8492bbd9e993dab873

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


Reply via email to