blob: fd4ef6a9ebba9d91c091def290a7be01fc0f5fc1 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
|
# Maintainer: tarball <bootctl@gmail.com>
#
# Upstream takes a few days to provide binary packages after a release is cut.
pkgname=noseyparker-bin
pkgver=0.19.0
pkgrel=1
pkgdesc='find secrets and sensitive information in textual data and Git history'
url='https://github.com/praetorian-inc/noseyparker'
arch=(x86_64 aarch64)
license=(Apache-2.0)
provides=(noseyparker)
conflicts=(noseyparker)
depends=(glibc gcc-libs)
source_x86_64=("$pkgname-$pkgver-x86_64.tar.gz::$url/releases/download/v$pkgver/noseyparker-v$pkgver-x86_64-unknown-linux-gnu.tar.gz")
source_aarch64=("$pkgname-$pkgver-aarch64.tar.gz::$url/releases/download/v$pkgver/noseyparker-v$pkgver-aarch64-unknown-linux-gnu.tar.gz")
sha256sums_x86_64=('8f277e5316717059d35c96458fcd8ebb5a3bf6da97088c70818ce43637218419')
sha256sums_aarch64=('c698d0489461a1bb760eec2c4703e41d491ffb5a4ecad5011ddc6d198e3202bf')
package() {
install -Dm755 bin/noseyparker \
"$pkgdir/usr/bin/noseyparker"
install -Dm644 README.md \
"$pkgdir/usr/share/doc/noseyparker/README.md"
install -Dm644 share/completions/noseyparker.bash \
"$pkgdir/usr/share/bash-completion/completions/noseyparker"
install -Dm644 share/completions/noseyparker.fish \
"$pkgdir/usr/share/fish/vendor_completions.d/noseyparker.fish"
install -Dm644 share/completions/noseyparker.zsh \
"$pkgdir/usr/share/zsh/site-functions/_noseyparker"
install -dm755 "$pkgdir/usr/share/man/"
cp --archive share/man/. "$pkgdir/usr/share/man/"
}
|