1 # Contributor: Nicolas Diaz <pablonicolas.diaz-at-gmail.com>
6 pkgdesc="a seamless aspect-oriented extension to the Java programming language"
8 url="http://www.eclipse.org/aspectj"
10 depends=( 'java-runtime' )
11 makedepends=( 'java-environment' )
12 source=( ftp://mirrors.ibiblio.org/pub/mirrors/eclipse/tools/${pkgname}/${pkgname}-${pkgver}.jar aspectj.sh)
13 noextract=( ${pkgname}-${pkgver}.jar )
16 mkdir -p ${pkgdir}/opt/${pkgname}
17 java -jar ${srcdir}/${pkgname}-${pkgver}.jar -to ${pkgdir}/opt/${pkgname}
18 # hack for bash scripts ...
19 sed -i 's%${pkgdir}/opt/${pkgname}%/opt/${pkgname}%g' ${pkgdir}/opt/${pkgname}/bin/*
20 mkdir -p ${pkgdir}/etc/profile.d
21 install -D -m755 ${srcdir}/aspectj.sh ${pkgdir}/etc/profile.d/
23 md5sums=('d162e4f9d11fc55ae2d4a79712a1d2a5'
24 '9aba9ce88bd722c0a47e99bca91379c6')