summaryrefslogtreecommitdiff
path: root/pcr/jdee/PKGBUILD
blob: df77384fcb171c847b15c8f2047ef1775de3d598 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
# Maintainer : Omar Vega Ramos <ovruni@gnu.org.pe>

pkgname=jdee
pkgver=2.4.1
pkgrel=1
pkgdesc="Java Development Environment for Emacs"
arch=('any')
url="https://github.com/jdee-emacs/jdee"
license=('GPL')
depends=('emacs-elib' 'java-environment')
_antver=1.0b5
makedepends=("apache-ant-contrib=$_antver")
source=("$pkgname-$pkgver.tar.gz::https://github.com/jdee-emacs/jdee/archive/$pkgver.tar.gz")
md5sums=('c7476b9201a0a09b45aa81e2fea602f0')

build() {
  cd $srcdir/$pkgname-$pkgver
  export CLASSPATH=$CLASSPATH:/usr/share/java/apache-ant/ant-contrib-$_antver.jar
  ant clean-all
  ant configure
  ant bindist
}

package() {
  cd $srcdir/$pkgname-$pkgver
  install -d $pkgdir/usr/share/java/jdee/{lisp,java/lib}
  cp -r java/lib/ $pkgdir/usr/share/java/jdee/java/
  cp -r lisp/ $pkgdir/usr/share/java/jdee/
}