makedeb
Just a command runner
Click here to go back to the commit logs for just.
Hash: b486152c915c943b25e479cbee42bc373a3e31a4
Message: Update commands for man pages and shell completions
diff --git a/.SRCINFO b/.SRCINFO
index 9485d18..f70c1bf 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -2,7 +2,7 @@ generated-by = makedeb
pkgname = just
pkgbase = just
pkgdesc = Just a command runner
-pkgrel = 1
+pkgrel = 2
pkgver = 1.29.1
url = https://just.systems
arch = any
diff --git a/PKGBUILD b/PKGBUILD
index bc7e20c..b123151 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,7 +1,7 @@
# Maintainer: Hunter Wittenborn <hunter@hunterwittenborn.com>
pkgname=just
pkgver=1.29.1
-pkgrel=1
+pkgrel=2
pkgdesc='Just a command runner'
arch=('any')
makedepends=('cargo>=1.63')
@@ -19,8 +19,8 @@ build() {
package() {
cd "${pkgname}-${pkgver}/"
install -Dm 755 "target/release/${pkgname}" "${pkgdir}/usr/bin/${pkgname}"
- install -Dm 644 "completions/${pkgname}.bash" "${pkgdir}/usr/share/bash-completion/completions/just"
- install -Dm 644 "man/${pkgname}.1" "${pkgdir}/usr/share/man/man1/${pkgname}.1"
+ "target/release/${pkgname}" --completions bash | install -Dm 644 /dev/stdin "${pkgdir}/usr/share/bash-completion/completions/just"
+ "target/release/${pkgname}" --man | install -Dm 644 /dev/stdin "${pkgdir}/usr/share/man/man1/${pkgname}.1"
}
# vim: set sw=4 expandtab: