diff --git a/srcpkgs/eclipse-ecj/template b/srcpkgs/eclipse-ecj/template index 3e174f28e3e..a691bca5e0b 100644 --- a/srcpkgs/eclipse-ecj/template +++ b/srcpkgs/eclipse-ecj/template @@ -1,23 +1,18 @@ # Template build file for 'eclipse-ecj'. pkgname=eclipse-ecj -version=4.5 -revision=3 -noarch="yes" -create_wrksrc=yes +version=4.9 +revision=1 +noarch=yes +build_style=fetch short_desc="A fork of the Eclipse Java bytecode compiler for GCJ" maintainer="Juan RP " license="EPL" homepage="http://gcc.gnu.org/java/" -checksum=98fd128f1d374d9e42fd9d4836bdd249c6d511ebc6c0df17fbc1b9df96c3d781 +checksum=9506e75b862f782213df61af67338eb7a23c35ff425d328affc65585477d34cd update_pkgname=ecj distfiles="http://mirrors.kernel.org/sources.redhat.com/java/ecj-${version}.jar" -do_extract() { - cp -v "${XBPS_SRCDISTDIR}/${pkgname}-${version}/ecj-${version}.jar" "${wrksrc}" -} - do_install() { - vinstall "ecj-${version}.jar" 644 usr/share/java "${pkgname}.jar" - vinstall "${FILESDIR}/ecj1" 755 usr/bin - + vinstall ecj-${version}.jar 644 usr/share/java ${pkgname}.jar + vbin ${FILESDIR}/ecj1 }