updated on Thu Jan 26 16:09:46 UTC 2012
[aur-mirror.git] / pmd / PKGBUILD
blobea33ef8a7e91ce9053f6b328814dc40517735030
1 # Maintainer: David Pugnasse <david.pugnasse@gmail.com>
2 pkgname=pmd
3 pkgver=4.3
4 pkgrel=1
5 pkgdesc="A java source code scanner for detecting possible bugs, dead code, overcomplicated expressions and more"
6 arch=('any')
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
11 cpd pmd pmd-designer)
12 md5sums=('0c7e301b1450bb0880564568f516aee7'
13          'cc5f0fe5c17dcf0fa05355076a40f419'
14          '7ec80b7a0e1eadfec5da2c88aad8c8aa'
15          '6bebf425b99578ef36af88399d05d1f5')
17 build() {
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: