mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-11-28 22:57:37 +00:00
community/classpath to 0.99-4
This commit is contained in:
parent
769480108a
commit
3d33ba15c4
1 changed files with 44 additions and 41 deletions
|
@ -1,6 +1,6 @@
|
||||||
# $Id$
|
# $Id$
|
||||||
# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
|
# Contributor: Sergej Pupykin <pupykin.s+arch@gmail.com>
|
||||||
# Maintainer: tardo <tardo@nagi-fanboi.net>
|
# Contributor: tardo <tardo@nagi-fanboi.net>
|
||||||
# Contributor: Sean Gillespie <Sean.D.Gillespie@gmail.com>
|
# Contributor: Sean Gillespie <Sean.D.Gillespie@gmail.com>
|
||||||
|
|
||||||
# ALARM: Kevin Mihelich <kevin@archlinuxarm.org>
|
# ALARM: Kevin Mihelich <kevin@archlinuxarm.org>
|
||||||
|
@ -8,14 +8,14 @@
|
||||||
|
|
||||||
pkgname=classpath
|
pkgname=classpath
|
||||||
pkgver=0.99
|
pkgver=0.99
|
||||||
pkgrel=3
|
pkgrel=4
|
||||||
pkgdesc="A free replacement for Sun's proprietary core Java class libraries."
|
pkgdesc="A free replacement for Sun's proprietary core Java class libraries."
|
||||||
arch=('i686' 'x86_64')
|
arch=('x86_64')
|
||||||
url="http://www.gnu.org/software/classpath/"
|
url="http://www.gnu.org/software/classpath/"
|
||||||
license=('GPL')
|
license=('GPL')
|
||||||
depends=('gtk2>=2.8' 'libxtst' 'libsm' 'freetype2')
|
depends=('file' 'gtk2' 'libsm' 'libxtst')
|
||||||
makedepends=('gtk2>=2.8' 'libxtst' 'gconf' 'java-environment' 'antlr2')
|
makedepends=('java-environment' 'antlr2')
|
||||||
optdepends=('file' 'gconf')
|
options=('!emptydirs')
|
||||||
source=(ftp://ftp.gnu.org/gnu/classpath/$pkgname-$pkgver.tar.gz
|
source=(ftp://ftp.gnu.org/gnu/classpath/$pkgname-$pkgver.tar.gz
|
||||||
freetype2_include.patch
|
freetype2_include.patch
|
||||||
aarch64.patch)
|
aarch64.patch)
|
||||||
|
@ -24,7 +24,7 @@ md5sums=('0ae1571249172acd82488724a3b8acb4'
|
||||||
'5a5548d07da9155b1172e04ef65952e5')
|
'5a5548d07da9155b1172e04ef65952e5')
|
||||||
|
|
||||||
prepare() {
|
prepare() {
|
||||||
cd $srcdir/$pkgname-$pkgver
|
cd "$srcdir"/$pkgname-$pkgver
|
||||||
|
|
||||||
patch -p0 Makefile.in <<EOF
|
patch -p0 Makefile.in <<EOF
|
||||||
298,299c298,299
|
298,299c298,299
|
||||||
|
@ -36,49 +36,52 @@ prepare() {
|
||||||
EOF
|
EOF
|
||||||
|
|
||||||
# fix freetype2 include path
|
# fix freetype2 include path
|
||||||
patch -Np1 -i $srcdir/freetype2_include.patch
|
patch -Np1 -i "$srcdir"/freetype2_include.patch
|
||||||
|
|
||||||
|
# fix build
|
||||||
|
sed -i 's/-source 1\.5 -target 1\.5/-source 1.6 -target 1.6/' configure m4/ac_prog_javac_works.m4 {examples,tools,lib}/Makefile.{am,in}
|
||||||
|
|
||||||
# add AArch64 support
|
# add AArch64 support
|
||||||
patch -p1 -i ../aarch64.patch
|
patch -p1 -i ../aarch64.patch
|
||||||
}
|
}
|
||||||
|
|
||||||
build() {
|
build() {
|
||||||
cd $srcdir/$pkgname-$pkgver
|
cd "$srcdir"/$pkgname-$pkgver
|
||||||
./configure --prefix=/usr --disable-Werror --disable-plugin \
|
./configure --prefix=/usr --disable-Werror --disable-plugin --disable-gconf-peer \
|
||||||
--with-antlr-jar=/usr/share/java/antlr2.jar
|
--with-antlr-jar=/usr/share/java/antlr2.jar
|
||||||
make EXAMPLESDIR=
|
make EXAMPLESDIR=
|
||||||
}
|
}
|
||||||
|
|
||||||
package() {
|
package() {
|
||||||
cd $srcdir/$pkgname-$pkgver
|
cd "$srcdir"/$pkgname-$pkgver
|
||||||
make EXAMPLESDIR= DESTDIR=$pkgdir install
|
make EXAMPLESDIR= DESTDIR="$pkgdir" install
|
||||||
|
|
||||||
rm -f $pkgdir/usr/bin/gappletviewer
|
rm -f "$pkgdir"/usr/bin/gappletviewer
|
||||||
rm -f $pkgdir/usr/bin/gjar
|
rm -f "$pkgdir"/usr/bin/gjar
|
||||||
rm -f $pkgdir/usr/bin/gjarsigner
|
rm -f "$pkgdir"/usr/bin/gjarsigner
|
||||||
rm -f $pkgdir/usr/bin/gjavah
|
rm -f "$pkgdir"/usr/bin/gjavah
|
||||||
rm -f $pkgdir/usr/bin/gkeytool
|
rm -f "$pkgdir"/usr/bin/gkeytool
|
||||||
rm -f $pkgdir/usr/bin/gnative2ascii
|
rm -f "$pkgdir"/usr/bin/gnative2ascii
|
||||||
rm -f $pkgdir/usr/bin/gorbd
|
rm -f "$pkgdir"/usr/bin/gorbd
|
||||||
rm -f $pkgdir/usr/bin/grmic
|
rm -f "$pkgdir"/usr/bin/grmic
|
||||||
rm -f $pkgdir/usr/bin/grmid
|
rm -f "$pkgdir"/usr/bin/grmid
|
||||||
rm -f $pkgdir/usr/bin/grmiregistry
|
rm -f "$pkgdir"/usr/bin/grmiregistry
|
||||||
rm -f $pkgdir/usr/bin/gserialver
|
rm -f "$pkgdir"/usr/bin/gserialver
|
||||||
rm -f $pkgdir/usr/bin/gtnameserv
|
rm -f "$pkgdir"/usr/bin/gtnameserv
|
||||||
rm -f $pkgdir/usr/lib/logging.properties
|
rm -f "$pkgdir"/usr/lib/logging.properties
|
||||||
rm -f $pkgdir/usr/lib/security/classpath.security
|
rm -f "$pkgdir"/usr/lib/security/classpath.security
|
||||||
rm -f $pkgdir/usr/share/man/man1/gappletviewer.1*
|
rm -f "$pkgdir"/usr/share/man/man1/gappletviewer.1*
|
||||||
rm -f $pkgdir/usr/share/man/man1/gcjh.1*
|
rm -f "$pkgdir"/usr/share/man/man1/gcjh.1*
|
||||||
rm -f $pkgdir/usr/share/man/man1/gjar.1*
|
rm -f "$pkgdir"/usr/share/man/man1/gjar.1*
|
||||||
rm -f $pkgdir/usr/share/man/man1/gjarsigner.1*
|
rm -f "$pkgdir"/usr/share/man/man1/gjarsigner.1*
|
||||||
rm -f $pkgdir/usr/share/man/man1/gjavah.1*
|
rm -f "$pkgdir"/usr/share/man/man1/gjavah.1*
|
||||||
rm -f $pkgdir/usr/share/man/man1/gkeytool.1*
|
rm -f "$pkgdir"/usr/share/man/man1/gkeytool.1*
|
||||||
rm -f $pkgdir/usr/share/man/man1/gnative2ascii.1*
|
rm -f "$pkgdir"/usr/share/man/man1/gnative2ascii.1*
|
||||||
rm -f $pkgdir/usr/share/man/man1/gorbd.1*
|
rm -f "$pkgdir"/usr/share/man/man1/gorbd.1*
|
||||||
rm -f $pkgdir/usr/share/man/man1/grmid.1*
|
rm -f "$pkgdir"/usr/share/man/man1/grmid.1*
|
||||||
rm -f $pkgdir/usr/share/man/man1/grmiregistry.1*
|
rm -f "$pkgdir"/usr/share/man/man1/grmiregistry.1*
|
||||||
rm -f $pkgdir/usr/share/man/man1/gserialver.1*
|
rm -f "$pkgdir"/usr/share/man/man1/gserialver.1*
|
||||||
rm -f $pkgdir/usr/share/man/man1/gtnameserv.1*
|
rm -f "$pkgdir"/usr/share/man/man1/gtnameserv.1*
|
||||||
rm -f $pkgdir/usr/share/man/man1/gjdoc.1*
|
rm -f "$pkgdir"/usr/share/man/man1/gjdoc.1*
|
||||||
rm -f $pkgdir/usr/share/info/dir
|
rm -f "$pkgdir"/usr/share/info/dir
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue