mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-12-28 23:21:53 +00:00
34 lines
1.1 KiB
Bash
34 lines
1.1 KiB
Bash
# $Id: PKGBUILD 3703 2009-10-07 14:32:55Z ibiru $
|
|
# Maintainer : Biru Ionut <ionut@archlinux.ro>
|
|
# Contributor: Timm Preetz <timm@preetz.us>
|
|
pkgname=java-gnome
|
|
pkgver=4.0.13
|
|
pkgrel=1
|
|
pkgdesc="Java bindings to the GNOME platform (including gtk, glib and glade)"
|
|
arch=('i686' 'x86_64')
|
|
url="http://java-gnome.sourceforge.net"
|
|
license=('GPL')
|
|
depends=('gtksourceview2' 'libnotify' 'libunique' 'gtkspell' 'libglade' 'java-runtime')
|
|
makedepends=('java-environment' 'junit')
|
|
options=(!libtool)
|
|
source=(http://ftp.gnome.org/pub/gnome/sources/${pkgname}/4.0/${pkgname}-${pkgver}.tar.gz)
|
|
|
|
build() {
|
|
cd ${srcdir}/${pkgname}-${pkgver}
|
|
|
|
# adapt to the new build-system
|
|
unset CLASSPATH
|
|
if [ -d "/usr/lib/jvm/java-6-openjdk/" ]; then
|
|
./configure jdk=/usr/lib/jvm/java-6-openjdk/ prefix=/usr || return 1
|
|
else
|
|
./configure || return 1
|
|
fi
|
|
make || return 1
|
|
DISPLAY= make -j1 doc || return 1
|
|
make DESTDIR=${pkgdir} install || return 1
|
|
|
|
install -d ${pkgdir}/usr/share/gtk-doc/html/java-gnome
|
|
cp -R ${srcdir}/java-gnome-${pkgver}/doc/api/* ${pkgdir}/usr/share/gtk-doc/html/java-gnome
|
|
}
|
|
|
|
md5sums=('5d8c68ec61df1a9a947dfa00bc1db303')
|