# $Id: PKGBUILD 4458 2008-07-07 16:34:45Z jgc $
#Maintainer: Jan de Groot <jgc@archlinux.org>

pkgname=libxp
pkgver=1.0.0
pkgrel=2
pkgdesc="X11 X Print Library"
arch=('i686' 'x86_64')
license=('custom')
url="http://xorg.freedesktop.org/"
depends=('libxext' 'printproto')
makedepends=('pkgconfig')
options=('!libtool')
source=(${url}/releases/individual/lib/libXp-${pkgver}.tar.bz2)
md5sums=('0f4ac39108c1ae8c443cdfac259b58fa')

build() {
  cd ${srcdir}/libXp-${pkgver}
  ./configure --prefix=/usr || return 1
  make || return 1
  make DESTDIR=${pkgdir} install || return 1
  install -m755 -d ${pkgdir}/usr/share/licenses/${pkgname}
  install -m644 COPYING ${pkgdir}/usr/share/licenses/${pkgname}/ || return 1
}