1 # Maintainer: David Pugnasse <david.pugnasse@gmail.com>
5 pkgdesc="A java source code scanner for detecting possible bugs, dead code, overcomplicated expressions and more"
7 url="http://pmd.sourceforge.net/"
8 license=('custom:BSD-style')
9 depends=('java-environment')
10 source=(http://sourceforge.net/projects/pmd/files/pmd/${pkgver}/pmd-bin-${pkgver}.zip
12 md5sums=('0c7e301b1450bb0880564568f516aee7'
13 'cc5f0fe5c17dcf0fa05355076a40f419'
14 '7ec80b7a0e1eadfec5da2c88aad8c8aa'
15 '6bebf425b99578ef36af88399d05d1f5')
18 install -dm755 ${pkgdir}/usr/share/{java,licenses}/${pkgname}
19 install -m644 $srcdir/${pkgname}-bin-${pkgver}/etc/LICENSE.txt ${pkgdir}/usr/share/licenses/${pkgname}/LICENSE
20 install -m644 $srcdir/${pkgname}-bin-${pkgver}/lib/*.jar -t ${pkgdir}/usr/share/java/${pkgname}
22 install -Dm755 cpd ${pkgdir}/usr/bin/cpd
23 install -Dm755 pmd ${pkgdir}/usr/bin/pmd
24 install -Dm755 pmd-designer ${pkgdir}/usr/bin/pmd-designer
27 # vim:set ts=2 sw=2 et: