[arch-commits] Commit in arch-audit/repos (2 files)

Levente Polyak anthraxx at archlinux.org
Thu May 20 18:36:18 UTC 2021


    Date: Thursday, May 20, 2021 @ 18:36:17
  Author: anthraxx
Revision: 939549

archrelease: copy trunk to community-staging-x86_64

Added:
  arch-audit/repos/community-staging-x86_64/
  arch-audit/repos/community-staging-x86_64/PKGBUILD
    (from rev 939548, arch-audit/trunk/PKGBUILD)

----------+
 PKGBUILD |   41 +++++++++++++++++++++++++++++++++++++++++
 1 file changed, 41 insertions(+)

Copied: arch-audit/repos/community-staging-x86_64/PKGBUILD (from rev 939548, arch-audit/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD	                        (rev 0)
+++ community-staging-x86_64/PKGBUILD	2021-05-20 18:36:17 UTC (rev 939549)
@@ -0,0 +1,41 @@
+# Maintainer: Levente Polyak <anthraxx[at]archlinux[dot]org>
+# Maintainer: Christian Rebischke <Chris.Rebischke at archlinux.org>
+# Contributor: Andrea Scarpino <andrea at archlinux.org>
+
+pkgname=arch-audit
+pkgver=0.1.19
+pkgrel=2
+pkgdesc='A utility like pkg-audit based on Arch Security Team data'
+url='https://gitlab.com/ilpianista/arch-audit'
+depends=('glibc' 'gcc-libs' 'curl' 'libcurl.so' 'libalpm.so')
+makedepends=('cargo' 'pkg-config' 'scdoc')
+arch=('x86_64')
+license=('MIT')
+backup=('etc/arch-audit/settings.toml')
+source=("https://gitlab.com/ilpianista/arch-audit/-/archive/${pkgver}/arch-audit-${pkgver}.tar.gz")
+sha512sums=('b57facb0ae3488d318a4f2dcd2e86d5b245515f04d3d1627995ec983668a842bf837a7cb1c50515794c7f3900b766930fc7e14b6e7483d0136f1dca9509f4a87')
+b2sums=('ffaa520e9ff94c56f113630662d4cae51b77c96c76406d5a2dba2d4b74498a83839a939be328513b9ab3bb2378f7c62483ede990b764d4132558bc690590ff8f')
+
+build() {
+  cd "${pkgname}-${pkgver}"
+  cargo build --release --locked
+}
+
+check() {
+  cd "${pkgname}-${pkgver}"
+  cargo test --release --locked
+}
+
+package() {
+  cd "${pkgname}-${pkgver}"
+
+  make DESTDIR="${pkgdir}" PREFIX=/usr install
+
+  install -Dm 644 contrib/hooks/arch-audit.hook -t "${pkgdir}/usr/share/${pkgname}"
+  install -Dm 644 contrib/config/settings.toml -t "${pkgdir}/etc/arch-audit"
+
+  install -Dm 644 README.md -t "${pkgdir}/usr/share/doc/${pkgname}"
+  install -Dm 644 LICENSE -t "${pkgdir}/usr/share/licenses/${pkgname}"
+}
+
+# vim: ts=2 sw=2 et:



More information about the arch-commits mailing list