updated on Wed Jan 25 08:34:36 UTC 2012
[aur-mirror.git] / aspectj / PKGBUILD
blob6959f31fdbe75b29eac4f954e7391f030aec8f03
1 # Contributor: Nicolas Diaz <pablonicolas.diaz-at-gmail.com>
3 pkgname=aspectj
4 pkgver=1.6.8
5 pkgrel=3
6 pkgdesc="a seamless aspect-oriented extension to the Java programming language"
7 arch=(i686 x86_64)
8 url="http://www.eclipse.org/aspectj"
9 license=('EPL')
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 )
14         
15 build() {
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')