diff options
-rw-r--r-- | .SRCINFO | 8 | ||||
-rw-r--r-- | .gitignore | 1 | ||||
-rw-r--r-- | PKGBUILD | 14 |
3 files changed, 15 insertions, 8 deletions
@@ -1,18 +1,22 @@ pkgbase = eclipse-pmd - pkgdesc = PMD plugin for Eclipse IDE to analyze static Java, Javascript, XML, and XSL source code + pkgdesc = PMD static source code analysis (Java, XML, ...) plugin for Eclipse IDE pkgver = 4.0.8 - pkgrel = 1 + pkgrel = 2 url = http://pmd.sourceforge.net/ arch = any license = BSD + license = Apache depends = eclipse>=4.5.0 noextract = feature.jar noextract = plugin.jar + noextract = license.txt options = !strip source = feature.jar::http://downloads.sourceforge.net/project/pmd/pmd-eclipse/update-site-latest/features/net.sourceforge.pmd.eclipse_4.0.8.v20151003-1954.jar source = plugin.jar::http://downloads.sourceforge.net/project/pmd/pmd-eclipse/update-site-latest/plugins/net.sourceforge.pmd.eclipse.plugin_4.0.8.v20151003-1954.jar + source = license.txt::http://sourceforge.net/p/pmd/code/ci/master/tree/LICENSE?format=raw sha256sums = dadd49ecfe5832f91293b20bdb747506aa6d2330a7fbc802819c7049598e4c77 sha256sums = a40c8a27d0ba07619b1e0693634ec7465b1c760135b4f9807b7a8a8959f0faf0 + sha256sums = bc61ca15a6e980814d4183a0d37713179a682a8376fe4304c0d99792af62025c pkgname = eclipse-pmd diff --git a/.gitignore b/.gitignore index eb851d43addf..0050b3d9d644 100644 --- a/.gitignore +++ b/.gitignore @@ -3,3 +3,4 @@ src/ eclipse-pmd-*-any.pkg.tar.xz feature.jar plugin.jar +license.txt @@ -3,20 +3,22 @@ pkgname=eclipse-pmd pkgver=4.0.8 _buildtime=v20151003-1954 -pkgrel=1 -pkgdesc='PMD plugin for Eclipse IDE to analyze static Java, Javascript, XML, and XSL source code' +pkgrel=2 +pkgdesc='PMD static source code analysis (Java, XML, ...) plugin for Eclipse IDE' arch=('any') url='http://pmd.sourceforge.net/' -license=('BSD') +license=('BSD' 'Apache') depends=('eclipse>=4.5.0') options=('!strip') source=( "feature.jar::http://downloads.sourceforge.net/project/pmd/pmd-eclipse/update-site-latest/features/net.sourceforge.pmd.eclipse_${pkgver}.${_buildtime}.jar" "plugin.jar::http://downloads.sourceforge.net/project/pmd/pmd-eclipse/update-site-latest/plugins/net.sourceforge.pmd.eclipse.plugin_${pkgver}.${_buildtime}.jar" + "license.txt::http://sourceforge.net/p/pmd/code/ci/master/tree/LICENSE?format=raw" ) -noextract=(feature.jar plugin.jar) +noextract=(feature.jar plugin.jar license.txt) sha256sums=('dadd49ecfe5832f91293b20bdb747506aa6d2330a7fbc802819c7049598e4c77' - 'a40c8a27d0ba07619b1e0693634ec7465b1c760135b4f9807b7a8a8959f0faf0') + 'a40c8a27d0ba07619b1e0693634ec7465b1c760135b4f9807b7a8a8959f0faf0' + 'bc61ca15a6e980814d4183a0d37713179a682a8376fe4304c0d99792af62025c') package() { _dest=$pkgdir/usr/lib/eclipse/dropins/${pkgname/eclipse-}/eclipse @@ -27,5 +29,5 @@ package() { jar xf $srcdir/feature.jar || return 1 # copy plugin install -Dm644 $srcdir/plugin.jar $_dest/plugins/net.sourceforge.pmd.eclipse.plugin_${pkgver}.${_buildtime}.jar + install -Dm644 $srcdir/license.txt $pkgdir/usr/share/licenses/eclipse-pmd/license.txt } - |