Created
December 15, 2022 13:18
-
-
Save adaszko/858e973ad69ab4ef1a03f150b2092e72 to your computer and use it in GitHub Desktop.
radicle-cli PKGBUILD
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
pkgname=radicle-cli | |
pkgver=0.6.1 | |
pkgrel=1 | |
pkgdesc="Command-line tooling for Radicle" | |
arch=('x86_64') | |
url="https://github.com/radicle-dev/radicle-cli" | |
license=('GPL3') | |
provides=('rad') | |
source_x86_64=("https://github.com/radicle-dev/radicle-cli/releases/download/v${pkgver}/radicle-cli-x86_64-unknown-linux-musl.tar.gz") | |
options=(!strip) | |
sha256sums_x86_64=('fddcce3c24dd75026d02656eaa3b8813c40df5b8388333795e216ea4c631b7a5') | |
package () { | |
set -o errexit | |
set -o nounset | |
set -o pipefail | |
set -o errtrace | |
dir="radicle-cli-x86_64-unknown-linux-musl" | |
find "$dir" -name '*.1.gz' -type f | xargs --replace install --mode=644 --target-directory="${pkgdir}/usr/share/man/man1/" -D '{}' | |
find "$dir" -type f -executable | xargs --replace install --mode=755 --target-directory="${pkgdir}/usr/bin/" -D '{}' | |
set +o errexit | |
set +o nounset | |
set +o pipefail | |
set +o errtrace | |
} | |
# vim:shiftwidth=2:expandtab:tabstop=2 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment