# $Id$
# Maintainer: dorphell <dorphell@archlinux.org>
# Committer: Judd Vinet <jvinet@zeroflux.org>

pkgname=libidl2
pkgver=0.8.14
pkgrel=1
pkgdesc="A front-end for CORBA 2.2 IDL and Netscape's XPIDL"
arch=(i686 x86_64)
license=('LGPL')
depends=('glib2>=2.24.0' 'texinfo')
makedepends=('pkgconfig')
install=libidl2.install
options=('!libtool' '!emptydirs')
source=(http://ftp.gnome.org/pub/gnome/sources/libIDL/0.8/libIDL-${pkgver}.tar.bz2)
url="http://www.gnome.org"
sha256sums=('c5d24d8c096546353fbc7cedf208392d5a02afe9d56ebcc1cccb258d7c4d2220')

build() {
  cd "${srcdir}/libIDL-${pkgver}"
  ./configure --prefix=/usr || return 1
  make || return 1
  make DESTDIR="${pkgdir}" install || return 1

  rm -f "${pkgdir}/usr/share/info/dir"
  gzip -9nf "${pkgdir}/usr/share/info/"*
}