# $Id: PKGBUILD 55245 2009-10-12 16:01:59Z andyrtr $
#Maintainer: Jan de Groot <jgc@archlinux.org>

pkgname=libxxf86misc
pkgver=1.0.3
pkgrel=1
pkgdesc="X11 XFree86 miscellaneous extension library"
arch=('i686' 'x86_64')
url="http://xorg.freedesktop.org/"
license=('custom')
depends=(libxext xf86miscproto)
makedepends=(pkgconfig)
options=(!libtool)
source=(${url}/releases/individual/lib/libXxf86misc-${pkgver}.tar.bz2)

build() {
  cd ${srcdir}/libXxf86misc-${pkgver}
  ./configure --prefix=/usr --mandir=/usr/share/man --disable-static \
              --build=${CHOST} --host=${CHOST}
  make || return 1
}
package() {
  cd ${srcdir}/libXxf86misc-${pkgver}
  make DESTDIR=${pkgdir} install || return 1
  install -D -m644 COPYING ${pkgdir}/usr/share/licenses/${pkgname}/LICENSE
}

md5sums=('6bc0bf78909fd71021c466c793d4385c')