summaryrefslogtreecommitdiff
path: root/community/classpath
diff options
context:
space:
mode:
Diffstat (limited to 'community/classpath')
-rw-r--r--community/classpath/PKGBUILD61
1 files changed, 61 insertions, 0 deletions
diff --git a/community/classpath/PKGBUILD b/community/classpath/PKGBUILD
new file mode 100644
index 000000000..36fec1cc8
--- /dev/null
+++ b/community/classpath/PKGBUILD
@@ -0,0 +1,61 @@
+# $Id: PKGBUILD 13437 2010-03-23 14:09:37Z spupykin $
+# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
+# Maintainer: tardo <tardo@nagi-fanboi.net>
+# Contributor: Sean Gillespie <Sean.D.Gillespie@gmail.com>
+
+pkgname=classpath
+pkgver=0.98
+pkgrel=3
+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')
+makedepends=('gtk2>=2.8' 'libxtst')
+source=(ftp://ftp.gnu.org/gnu/classpath/$pkgname-$pkgver.tar.gz)
+md5sums=('90c6571b8b0309e372faa0f9f6255ea9')
+
+build() {
+ cd $startdir/src/$pkgname-$pkgver
+
+ patch -p0 Makefile.in <<EOF
+298,299c298,299
+< SUBDIRS = lib doc external include native resource scripts \$(TOOLSDIR) \$(EXAMPLESDIR)
+< DIST_SUBDIRS = lib doc external include native resource scripts tools examples
+---
+> SUBDIRS = lib doc external include native resource scripts
+> DIST_SUBDIRS = lib doc external include native resource scripts
+EOF
+
+ ./configure --prefix=/usr --disable-Werror --disable-plugin
+ make EXAMPLESDIR= || return 1
+ make EXAMPLESDIR= DESTDIR=$startdir/pkg install || return 1
+
+ rm -f $startdir/pkg/usr/bin/gappletviewer && \
+ rm -f $startdir/pkg/usr/bin/gjar && \
+ rm -f $startdir/pkg/usr/bin/gjarsigner && \
+ rm -f $startdir/pkg/usr/bin/gjavah && \
+ rm -f $startdir/pkg/usr/bin/gkeytool && \
+ rm -f $startdir/pkg/usr/bin/gnative2ascii && \
+ rm -f $startdir/pkg/usr/bin/gorbd && \
+ rm -f $startdir/pkg/usr/bin/grmic && \
+ rm -f $startdir/pkg/usr/bin/grmid && \
+ rm -f $startdir/pkg/usr/bin/grmiregistry && \
+ rm -f $startdir/pkg/usr/bin/gserialver && \
+ rm -f $startdir/pkg/usr/bin/gtnameserv && \
+ rm -f $startdir/pkg/usr/lib/logging.properties && \
+ rm -f $startdir/pkg/usr/lib/security/classpath.security && \
+ rm -f $startdir/pkg/usr/share/man/man1/gappletviewer.1* && \
+ rm -f $startdir/pkg/usr/share/man/man1/gcjh.1* && \
+ rm -f $startdir/pkg/usr/share/man/man1/gjar.1* && \
+ rm -f $startdir/pkg/usr/share/man/man1/gjarsigner.1* && \
+ rm -f $startdir/pkg/usr/share/man/man1/gjavah.1* && \
+ rm -f $startdir/pkg/usr/share/man/man1/gkeytool.1* && \
+ rm -f $startdir/pkg/usr/share/man/man1/gnative2ascii.1* && \
+ rm -f $startdir/pkg/usr/share/man/man1/gorbd.1* && \
+ rm -f $startdir/pkg/usr/share/man/man1/grmid.1* && \
+ rm -f $startdir/pkg/usr/share/man/man1/grmiregistry.1* && \
+ rm -f $startdir/pkg/usr/share/man/man1/gserialver.1* && \
+ rm -f $startdir/pkg/usr/share/man/man1/gtnameserv.1* && \
+ rm -f $pkgdir/usr/share/info/dir
+}