1 # Maintainer: Levente Polyak <anthraxx[at]archlinux[dot]org>
3 pkgname=sequoia-keyring-linter
6 pkgdesc='OpenPGP certificate linter'
7 url='https://sequoia-pgp.org/'
11 depends=('glibc' 'nettle' 'libhogweed.so' 'libnettle.so' 'gcc-libs' 'gmp')
12 makedepends=('git' 'cargo' 'llvm' 'clang')
13 source=(https://gitlab.com/sequoia-pgp/keyring-linter/-/archive/v${pkgver}/keyring-linter-v${pkgver}.tar.gz)
14 sha512sums=('64623a175d84d124e0943f74d06b28d9f0182d14cb1f28bd52511816d86ef280854591115dd8e94abe4d01072b8e2b363015aa8fba5c1dccc086c0dfd284c6fe')
15 b2sums=('0f495bfa8772274a0c39d0b8fe000bd08223fea7434ce4edfaed73dbf3c38209cab457c501f14f4e538d09b8f9ad4a1156ea1b7c95c74dec1b63902455862417')
18 cd keyring-linter-v${pkgver}
19 sed 's/debug/release/g' -i -- Makefile
23 cd keyring-linter-v${pkgver}
29 cd keyring-linter-v${pkgver}
34 cd keyring-linter-v${pkgver}
35 install -Dm 755 target/release/sq-keyring-linter -t "${pkgdir}/usr/bin"
36 install -Dm 644 sq-keyring-linter.1 -t "${pkgdir}/usr/share/man/man1"
37 install -Dm 644 README.md -t "${pkgdir}/usr/share/doc/${pkgname}"