[arch-commits] Commit in eclipse-ecj/trunk (PKGBUILD)

Jan de Groot jgc at archlinux.org
Fri May 30 03:34:38 EDT 2008


    Date: Friday, May 30, 2008 @ 03:34:38
  Author: jgc
Revision: 2263

upgpkg: eclipse-ecj 3.3.2-1
    Use install instead of mkdir
Remove unzip makedepend, bsdtar can unzip also

Modified:
  eclipse-ecj/trunk/PKGBUILD

----------+
 PKGBUILD |    6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2008-05-30 06:25:01 UTC (rev 2262)
+++ PKGBUILD	2008-05-30 07:34:38 UTC (rev 2263)
@@ -10,7 +10,7 @@
 license=('EPL')
 url="http://www.eclipse.org/"
 depends=('gcc-gcj')
-makedepends=('unzip' 'apache-ant')
+makedepends=('apache-ant')
 source=(http://download.eclipse.org/eclipse/downloads/drops/R-${pkgver}-${_date}/ecjsrc.zip
 	ecj
         ecj-gccmain.diff)
@@ -48,8 +48,8 @@
   mkdir -p build/dist
   gjar -c -C build/bin org -f build/dist/eclipse-ecj.jar || return 1
 
-  mkdir -p ${startdir}/pkg/usr/share/java
-  mkdir -p ${startdir}/pkg/usr/bin
+  install -m755 -d ${startdir}/pkg/usr/share/java
+  install -m755 -d ${startdir}/pkg/usr/bin
   install -m644 build/dist/eclipse-ecj.jar ${startdir}/pkg/usr/share/java/ || return 1
   install -m755 ecj ${startdir}/pkg/usr/bin/ || return 1
 }





More information about the arch-commits mailing list