# Maintainer: robertfoster # Contributor: François-Xavier Bru pkgname=dependency-check-cli pkgver=9.0.8 pkgrel=1 pkgdesc="Dependency-Check is a Software Composition Analysis (SCA) tool that attempts to detect publicly disclosed vulnerabilities contained within a project's dependencies." arch=('any') depends=('java-runtime') url="https://github.com/jeremylong/DependencyCheck" license=('Apache') source=("${url}/releases/download/v${pkgver}/${pkgname%%-cli}-${pkgver}-release.zip") install=${pkgname}.install package() { install -d "${pkgdir}/usr/bin" install -d "${pkgdir}/opt/${pkgname%%-cli}" cp -r "${srcdir}/${pkgname%%-cli}/"* \ "${pkgdir}/opt/${pkgname%%-cli}" chmod +x ${pkgdir}/opt/${pkgname%%-cli}/bin/dependency-check.sh ln -s /opt/${pkgname%%-cli}/bin/dependency-check.sh \ "${pkgdir}"/usr/bin/dependency-check } sha256sums=('5e18aa185620f81a4f43ca72764d85fa46d155a2dac49e22c69b2031acfaad24')