summaryrefslogtreecommitdiff
path: root/pcr
diff options
context:
space:
mode:
Diffstat (limited to 'pcr')
-rw-r--r--pcr/jdee-svn/PKGBUILD40
-rw-r--r--pcr/jdee/PKGBUILD29
2 files changed, 29 insertions, 40 deletions
diff --git a/pcr/jdee-svn/PKGBUILD b/pcr/jdee-svn/PKGBUILD
deleted file mode 100644
index cadfc9bab..000000000
--- a/pcr/jdee-svn/PKGBUILD
+++ /dev/null
@@ -1,40 +0,0 @@
-# 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
new file mode 100644
index 000000000..df77384fc
--- /dev/null
+++ b/pcr/jdee/PKGBUILD
@@ -0,0 +1,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/
+}