# Maintainer: robertfoster # Contributor: François-Xavier Bru pkgname=dependency-check-cli pkgver=6.5.2 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=("https://github.com/jeremylong/DependencyCheck/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=('2c1d236501aed7895e3f665ba931bd230d5e4d94b9196d231bf260aa5b0be2e9')