# $Id: PKGBUILD 145122 2011-12-17 08:47:23Z andyrtr $ # Maintainer: Jan de Groot pkgname=libxi pkgver=1.4.4 pkgrel=1 pkgdesc="X11 Input extension library" arch=('i686' 'x86_64') url="http://xorg.freedesktop.org" depends=('libxext' 'inputproto') makedepends=('pkgconfig' 'xorg-util-macros') options=(!libtool) license=('custom') source=(${url}/releases/individual/lib/libXi-${pkgver}.tar.bz2) sha1sums=('e4ca1b45368214ba246bfad398ea087125c79f31') build() { cd "${srcdir}/libXi-${pkgver}" ./configure --prefix=/usr --sysconfdir=/etc --disable-static make } package() { cd "${srcdir}/libXi-${pkgver}" make DESTDIR="${pkgdir}" install install -m755 -d "${pkgdir}/usr/share/licenses/${pkgname}" install -m644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/" }