summaryrefslogtreecommitdiffstats
path: root/abs/core-testing/libxi/PKGBUILD
blob: 6abbf85ce2e5ea12235d03dc03ed3fda1646d9ab (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
# $Id: PKGBUILD 57676 2009-11-01 14:14:29Z jgc $
# Maintainer: Jan de Groot <jgc@archlinux.org>

pkgname=libxi
pkgver=1.3
pkgrel=2
pkgdesc="X11 Input extension library"
arch=('i686' 'x86_64')
url="http://xorg.freedesktop.org"
depends=('libxext>=1.1' 'inputproto>=2.0')
makedepends=('pkgconfig')
options=(!libtool force)
license=('custom')
source=(${url}/releases/individual/lib/libXi-${pkgver}.tar.bz2)
md5sums=('8df4ece9bd1efb02c28acb2b6f485e09')

build() {
  cd "${srcdir}/libXi-${pkgver}"
  ./configure --prefix=/usr --sysconfdir=/etc --disable-static || 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
}