# $Id: PKGBUILD 151429 2012-02-26 10:49:41Z pierre $ #Maintainer: Jan de Groot <jgc@archlinux.org> pkgname=libxp pkgver=1.0.1 pkgrel=3 pkgdesc="X11 X Print Library" arch=('i686' 'x86_64') license=('custom') url="http://xorg.freedesktop.org/" depends=('libxext' 'printproto') makedepends=('xorg-util-macros') options=('!libtool') source=("${url}/releases/individual/lib/libXp-${pkgver}.tar.bz2") license=('custom') sha1sums=('9c76823c7cfcb43f097963d0c930dcc4e38807a8') build() { cd "${srcdir}/libXp-${pkgver}" ./configure --prefix=/usr make } package() { cd "${srcdir}/libXp-${pkgver}" make DESTDIR="${pkgdir}" install install -m755 -d "${pkgdir}/usr/share/licenses/${pkgname}" install -m644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/" }