summaryrefslogtreecommitdiffstats
path: root/abs/core-testing/libxi/PKGBUILD
blob: 593d8053688c3e05bc0f967bfec98e5ff3c15a5d (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 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
}