2015-07-25 16:46:26 +00:00
|
|
|
# $Id$
|
|
|
|
# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
|
|
|
|
# Maintainer: tardo <tardo@nagi-fanboi.net>
|
|
|
|
# Contributor: Sean Gillespie <Sean.D.Gillespie@gmail.com>
|
|
|
|
|
|
|
|
# ALARM: Kevin Mihelich <kevin@archlinuxarm.org>
|
|
|
|
# - AArch64 patch
|
|
|
|
|
|
|
|
pkgname=classpath
|
|
|
|
pkgver=0.99
|
2016-04-05 18:08:54 +00:00
|
|
|
pkgrel=2
|
2015-07-25 16:46:26 +00:00
|
|
|
pkgdesc="A free replacement for Sun's proprietary core Java class libraries."
|
|
|
|
arch=('i686' 'x86_64')
|
|
|
|
url="http://www.gnu.org/software/classpath/"
|
|
|
|
license=('GPL')
|
|
|
|
depends=('gtk2>=2.8' 'libxtst' 'libsm' 'freetype2')
|
|
|
|
makedepends=('gtk2>=2.8' 'libxtst' 'gconf' 'java-environment' 'antlr2')
|
|
|
|
optdepends=('file' 'gconf')
|
2016-04-05 18:08:54 +00:00
|
|
|
source=(ftp://ftp.gnu.org/gnu/classpath/$pkgname-$pkgver.tar.gz
|
|
|
|
freetype2_include.patch
|
2015-07-25 16:46:26 +00:00
|
|
|
aarch64.patch)
|
|
|
|
md5sums=('0ae1571249172acd82488724a3b8acb4'
|
|
|
|
'55dafc301c5f2e497696d01e9c1dab9c'
|
|
|
|
'5a5548d07da9155b1172e04ef65952e5')
|
|
|
|
|
|
|
|
prepare() {
|
|
|
|
cd $srcdir/$pkgname-$pkgver
|
|
|
|
patch -Np1 -i $srcdir/freetype2_include.patch
|
|
|
|
|
|
|
|
# add AArch64 support
|
|
|
|
patch -p1 -i ../aarch64.patch
|
|
|
|
}
|
|
|
|
|
|
|
|
build() {
|
|
|
|
cd $srcdir/$pkgname-$pkgver
|
|
|
|
./configure --prefix=/usr --disable-Werror --disable-plugin \
|
|
|
|
--with-antlr-jar=/usr/share/java/antlr2.jar
|
|
|
|
make EXAMPLESDIR=
|
|
|
|
}
|
|
|
|
|
|
|
|
package() {
|
|
|
|
cd $srcdir/$pkgname-$pkgver
|
|
|
|
make EXAMPLESDIR= DESTDIR=$pkgdir install
|
|
|
|
rm -f $pkgdir/usr/lib/logging.properties
|
|
|
|
rm -f $pkgdir/usr/share/info/dir
|
|
|
|
}
|