diff options
Diffstat (limited to 'extra/libxi/PKGBUILD')
-rw-r--r-- | extra/libxi/PKGBUILD | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/extra/libxi/PKGBUILD b/extra/libxi/PKGBUILD new file mode 100644 index 000000000..7d7ab740e --- /dev/null +++ b/extra/libxi/PKGBUILD @@ -0,0 +1,29 @@ +# $Id: PKGBUILD 115723 2011-03-20 15:52:24Z andyrtr $ +# Maintainer: Jan de Groot <jgc@archlinux.org> + +pkgname=libxi +pkgver=1.4.2 +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=('97e60a60dd789287e47df807e487f4952dd4ff95') + +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}/" +} |