summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorRaimar Bühmann2015-09-26 19:00:06 +0200
committerRaimar Bühmann2015-09-26 19:00:06 +0200
commit7a7929f17bb734607ecdd0b4e1cfdc4b5fa1db88 (patch)
tree8931e95bf246e2b85362acccdbcb6877ca01b0b3 /PKGBUILD
parent816d41bed1f850d72ac9dc62a811d8a9bc0e5ead (diff)
downloadaur-7a7929f17bb734607ecdd0b4e1cfdc4b5fa1db88.tar.gz
fix using moved dropins folder since Mars
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD17
1 files changed, 8 insertions, 9 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 7621264a708..1cb0681e8d4 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,31 +2,30 @@
pkgname=eclipse-pmd
pkgver=4.0.7
-_stamp=v20150522-1709
-pkgrel=1
+_buildtime=v20150522-1709
+pkgrel=2
pkgdesc='Plug-in to analyze static Java, Javascript, XML, and XSL source code'
arch=('any')
url='http://pmd.sourceforge.net/'
license=('BSD')
-depends=('eclipse>=3.4.0')
-makedepends=('java-environment-common')
+depends=('eclipse>=4.5.0')
options=('!strip')
source=(
- "feature.jar::http://sourceforge.net/projects/pmd/files/pmd-eclipse/update-site/features/net.sourceforge.pmd.eclipse_${pkgver}.${_stamp}.jar"
- "plugin.jar::http://sourceforge.net/projects/pmd/files/pmd-eclipse/update-site/plugins/net.sourceforge.pmd.eclipse.plugin_${pkgver}.${_stamp}.jar"
+ "feature.jar::http://sourceforge.net/projects/pmd/files/pmd-eclipse/update-site/features/net.sourceforge.pmd.eclipse_${pkgver}.${_buildtime}.jar"
+ "plugin.jar::http://sourceforge.net/projects/pmd/files/pmd-eclipse/update-site/plugins/net.sourceforge.pmd.eclipse.plugin_${pkgver}.${_buildtime}.jar"
)
noextract=(feature.jar plugin.jar)
sha256sums=('31e08b5c42f5be1076ac2b156242211e49877ab7220f455b7a45ef097de5f898'
'f5d5ec3d7329aff59cde2cae957d94523984e53386a8d3485b7de190ed4ec154')
package() {
- _dest=$pkgdir/usr/share/eclipse/dropins/${pkgname/eclipse-}/eclipse
- _subfolder=$_dest/features/net.sourceforge.pmd.eclipse_${pkgver}.${_stamp}
+ _dest=$pkgdir/usr/lib/eclipse/dropins/${pkgname/eclipse-}/eclipse
+ _subfolder=$_dest/features/net.sourceforge.pmd.eclipse_${pkgver}.${_buildtime}
install -dm755 $_subfolder
cd $_subfolder
# extract feature
jar xf $srcdir/feature.jar || return 1
# copy plugin
- install -Dm644 $srcdir/plugin.jar $_dest/plugins/net.sourceforge.pmd.eclipse.plugin_${pkgver}.${_stamp}.jar
+ install -Dm644 $srcdir/plugin.jar $_dest/plugins/net.sourceforge.pmd.eclipse.plugin_${pkgver}.${_buildtime}.jar
}