# $Id: PKGBUILD 28322 2009-02-28 18:50:37Z jgc $ # Maintainer: Alexander Baldeck <alexander@archlinux.org> # Contributor: Jan de Groot <jgc@archlinux.org> pkgname=libxi pkgver=1.2.1 pkgrel=1 pkgdesc="X11 Input extension library" arch=('i686' 'x86_64') url="http://xorg.freedesktop.org" depends=('libxext>=1.0.5') makedepends=('pkgconfig') options=(!libtool force) license=('custom') source=(${url}/releases/individual/lib/libXi-${pkgver}.tar.bz2) md5sums=('cfb36307e8e7ffafe40848dba24e0b11') build() { cd "${srcdir}/libXi-${pkgver}" ./configure --prefix=/usr --sysconfdir=/etc || 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 }