# Maintainer: Stefan Auditor # Please report issues at https://github.com/sanduhrs/arch-aur-pdepend pkgname=pdepend pkgver=2.9.0 pkgrel=1 pkgdesc="A tool for PHP software metrics" url="http://pdepend.org/" arch=("any") license=("BSD") depends=("php") install="${pkgname}.install" source=("https://github.com/pdepend/pdepend/releases/download/${pkgver}/pdepend.phar" "https://raw.githubusercontent.com/pdepend/pdepend/${pkgver}/LICENSE" "pdepend.install") sha512sums=('f8b0b878e0a349ddf45926c9832345c6db4412bfb650f248b068f914a5c48e92392e25b6944e039b6c0616364acfb2858fcd9b63c6ea687e0777d0d9cccf3eef' '9772652fd67993b6e75b65d3d368210d44058ebd2d78bfca6d3b189ffeaf14d8de56ab1b8e59f7e0e2b4e0ddcdce5bb102100efdb6cce70bfe32229746fae436' '918537da7a6431b3c9c2bfd55dd0e317b586924e65a547c4216b58df1f12081737f12af7f19e81365befd15af1ee26046ad7ca086a3c9bde0466c0d9257cd1ac') package() { install -D -m 644 "${srcdir}/LICENSE" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" install -D -m 755 "${srcdir}/pdepend.phar" "${pkgdir}/usr/share/webapps/bin/${pkgname}.phar" install -d "${pkgdir}/usr/bin" ln -s "/usr/share/webapps/bin/${pkgname}.phar" "${pkgdir}/usr/bin/pdepend" }