summaryrefslogtreecommitdiff
path: root/pcr
diff options
context:
space:
mode:
authorOmar Vega Ramos <ovruni@gnu.org.pe>2015-05-03 16:08:56 -0500
committerOmar Vega Ramos <ovruni@gnu.org.pe>2015-05-03 16:08:56 -0500
commit3bae82d931a383eb117d3c041f91e0a594006d1e (patch)
treeeacb2433890eb4d10681de55de36328a9cf08fe4 /pcr
parent955e5e350d3cdb9f3aee489cfe1161e967d21468 (diff)
downloadabslibre-3bae82d931a383eb117d3c041f91e0a594006d1e.tar.gz
abslibre-3bae82d931a383eb117d3c041f91e0a594006d1e.tar.bz2
abslibre-3bae82d931a383eb117d3c041f91e0a594006d1e.zip
jdee-svn-300-1: updating version
Diffstat (limited to 'pcr')
-rw-r--r--pcr/jdee-svn/PKGBUILD40
-rw-r--r--pcr/jdee/PKGBUILD49
-rw-r--r--pcr/jdee/jdee-build.el8
-rw-r--r--pcr/jdee/jdee.install54
4 files changed, 40 insertions, 111 deletions
diff --git a/pcr/jdee-svn/PKGBUILD b/pcr/jdee-svn/PKGBUILD
new file mode 100644
index 000000000..cadfc9bab
--- /dev/null
+++ b/pcr/jdee-svn/PKGBUILD
@@ -0,0 +1,40 @@
+# Contributor (Arch): Brandon Ednes <brandon@as220.org>
+# Contributor (Arch): Stefan Husmann <stefan-husmann@t-online.de>
+# Maintainer : Omar Vega Ramos <ovruni@gnu.org.pe>
+
+pkgname=jdee-svn
+pkgver=300
+_pkgver=2.4.2
+pkgrel=1
+pkgdesc="Java Development Environment for Emacs"
+arch=('any')
+url="http://jdee.sourceforge.net/"
+license=('GPL')
+depends=('emacs-elib' 'java-environment')
+makedepends=('subversion' 'apache-ant-contrib=1.0b3')
+provides=('jdee')
+conflicts=('jdee')
+source=("svn+https://jdee.svn.sourceforge.net/svnroot/jdee/trunk/jdee")
+md5sums=('SKIP')
+_svnmod="jdee"
+
+pkgver() {
+ cd "$srcdir/${_svnmod}"
+ local ver="$(svnversion)"
+ printf "%s" "${ver//[[:alpha:]]}"
+}
+
+build() {
+ cd $srcdir/${_svnmod}
+ export CLASSPATH=$CLASSPATH:/usr/share/java/apache-ant/ant-contrib-1.0b3.jar
+ ant clean-all
+ ant configure
+ ant bindist
+}
+
+package() {
+ cd $srcdir/${_svnmod}/dist/jdee-${_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/
+}
diff --git a/pcr/jdee/PKGBUILD b/pcr/jdee/PKGBUILD
deleted file mode 100644
index 5af1f57ef..000000000
--- a/pcr/jdee/PKGBUILD
+++ /dev/null
@@ -1,49 +0,0 @@
-# PKGBUILD for JDEE 2.4.0.1
-# Contributor (Arch): Brandon Ednes <brandon@as220.org>
-# $Id$
-# Maintainer : Parabola GNU / Linux-libre Aurelien Desbrieres <aurelien@cwb.io>
-
-pkgname=jdee
-_pkgname=jde
-pkgver=2.4.0.1
-pkgrel=1
-pkgdesc="The Java Development Environment for Emacs"
-arch=('i686' 'x86_64' 'mips64el')
-url="http://jdee.sourceforge.net/"
-license="GPL"
-depends=('emacs' 'cedet' 'emacs-elib')
-makedepends=()
-conflicts=()
-replaces=()
-backup=()
-install="$pkgname.install"
-source=(http://downloads.sourceforge.net/project/jdee/jdee/2.4.0.1/jdee-bin-2.4.0.1.zip)
-md5sums=('8e1d3e764f01c6dc1e337f9c6882ec85')
-
-build() {
- cd $startdir/src/$pkgname-$pkgver
- mkdir -p $startdir/pkg/usr/share/emacs/site-lisp/$_pkgname
-
- # Fix up permissions for package files. This is nice but not required.
- find . -type f | xargs chmod 644
-
- # Because of the way JDEE builds, it assumes the jde directory has its
- # dependencies in sibling directories. We set up some symlinks to fake
- # this.
- ln -sf /usr/share/emacs/site-lisp/elib ../elib
- ln -sf /usr/share/emacs/site-lisp/cedet ../cedet
- # Byte-compile everything.
- emacs -q --no-site-file -batch -l $startdir/jdee-build.el -f jde-compile-jde
-
- # There is no install per se, just copy everything into the pkg directory.
- cp -R $startdir/src/$pkgname-$pkgver/* \
- $startdir/pkg/usr/share/emacs/site-lisp/$_pkgname
-
- # Clean up the symlinks.
- rm ../elib
- rm ../cedet
-}
-
-# Local Variables:
-# mode: shell-script
-# End:
diff --git a/pcr/jdee/jdee-build.el b/pcr/jdee/jdee-build.el
deleted file mode 100644
index a8ec13358..000000000
--- a/pcr/jdee/jdee-build.el
+++ /dev/null
@@ -1,8 +0,0 @@
-;;; jde-build.el
-;;; Set up the Emacs environment to byte-compile JDEE
-;;; $Id: jdee-build.el,v 99d30c485449 2008/06/23 05:38:36 jbromley $
-(add-to-list 'load-path "../elib")
-(add-to-list 'load-path "../cedet")
-(add-to-list 'load-path "./lisp")
-(load-file (expand-file-name "../cedet/common/cedet.el"))
-(require 'jde)
diff --git a/pcr/jdee/jdee.install b/pcr/jdee/jdee.install
deleted file mode 100644
index 08b6501a4..000000000
--- a/pcr/jdee/jdee.install
+++ /dev/null
@@ -1,54 +0,0 @@
-# jdee.install
-# Show Emacs configuration instructions.
-# $Id: jdee.install,v 99d30c485449 2008/06/23 05:38:36 jbromley $
-post_install () {
-echo ""
-echo "==> You may need to update your .emacs file. The following shows"
-echo "==> the minimal configuration needed. Note that it shows what is"
-echo "==> needed to configure JDEE's dependencies elib and cedet."
-echo ""
-echo "==> ;; This .emacs file illustrates the minimal setup"
-echo "==> ;; required to run the JDE."
-echo "==>"
-echo "==> ;; Update the Emacs load-path to include the path to"
-echo "==> ;; the JDE and its require packages. This code assumes"
-echo "==> ;; that you have installed the packages in the emacs/site"
-echo "==> ;; subdirectory of your home directory."
-echo "==> (add-to-list 'load-path (expand-file-name \"~/emacs/site/jde/lisp\"))"
-echo "==> (add-to-list 'load-path (expand-file-name \"~/emacs/site/cedet/common\"))"
-echo "==> (add-to-list 'load-path (expand-file-name \"~/emacs/site/elib\"))"
-echo "==>"
-echo "==> ;; Initialize CEDET."
-echo "==> (load-file (expand-file-name \"~/emacs/site/cedet/common/cedet.el\"))"
-echo "==>"
-echo "==>"
-echo "==> ;; If you want Emacs to defer loading the JDE until you open a"
-echo "==> ;; Java file, edit the following line"
-echo "==> (setq defer-loading-jde nil)"
-echo "==> ;; to read:"
-echo "==> ;;"
-echo "==> ;; (setq defer-loading-jde t)"
-echo "==> ;;"
-echo "==>"
-echo "==> (if defer-loading-jde"
-echo "==> (progn"
-echo "==> (autoload 'jde-mode \"jde\" \"JDE mode.\" t)"
-echo "==> (setq auto-mode-alist"
-echo "==> (append"
-echo "==> '((\"\\\\.java\\\\'\" . jde-mode))"
-echo "==> auto-mode-alist)))"
-echo "==> (require 'jde))"
-echo ""
-}
-
-post_upgrade () {
- post_install $1
-}
-
-op=$1
-shift
-$op $*
-
-# Local Variables:
-# mode: shell-script
-# End: