Skip to content

Instantly share code, notes, and snippets.

@bbidulock
Created November 17, 2018 23:09
Show Gist options
  • Save bbidulock/28ad6422b87155f256093356e4a728c5 to your computer and use it in GitHub Desktop.
Save bbidulock/28ad6422b87155f256093356e4a728c5 to your computer and use it in GitHub Desktop.
PKGBUILD for gcc-gcj-ecj that works with new gcc-gcj
# Maintainer: Joey Dumont <[email protected]>
# Contributor: Pierre Bourdon <[email protected]>
# Contributor: larsrh <[email protected]>
pkgname=gcc-gcj-ecj
pkgver=4.9
pkgrel=8
pkgdesc="A fork of the Eclipse Java bytecode compiler for GCJ"
depends=('bash' 'java-runtime')
provides=('eclipse-ecj')
conflicts=('eclipse-ecj')
arch=('any')
license=('EPL')
url="http://gcc.gnu.org/java/"
source=(http://mirrors.kernel.org/sources.redhat.com/java/ecj-${pkgver}.jar ecj1)
noextract=("ecj-${pkgver}.jar")
package() {
install -D -m644 ecj-${pkgver}.jar "${pkgdir}"/usr/share/java/eclipse-ecj.jar
install -D -m755 ecj1 "${pkgdir}"/usr/bin/ecj1
}
md5sums=('7339f199ba11c941890031fd9981d7be'
'ee312c2f80c73152dde859ea66e494d0')
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment