summaryrefslogtreecommitdiffstats
path: root/abs/core/libxi/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'abs/core/libxi/PKGBUILD')
-rw-r--r--abs/core/libxi/PKGBUILD23
1 files changed, 13 insertions, 10 deletions
diff --git a/abs/core/libxi/PKGBUILD b/abs/core/libxi/PKGBUILD
index 66414d3..593d805 100644
--- a/abs/core/libxi/PKGBUILD
+++ b/abs/core/libxi/PKGBUILD
@@ -1,22 +1,25 @@
-# $Id: PKGBUILD 356 2008-04-18 22:56:27Z aaron $
+# $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.1.3
+pkgver=1.2.1
pkgrel=1
pkgdesc="X11 Input extension library"
-arch=(i686 x86_64)
+arch=('i686' 'x86_64')
url="http://xorg.freedesktop.org"
-depends=('libxext')
+depends=('libxext>=1.0.5')
makedepends=('pkgconfig')
-options=(!libtool)
+options=(!libtool force)
+license=('custom')
source=(${url}/releases/individual/lib/libXi-${pkgver}.tar.bz2)
+md5sums=('cfb36307e8e7ffafe40848dba24e0b11')
build() {
- cd ${startdir}/src/libXi-${pkgver}
- ./configure --prefix=/usr --sysconfdir=/etc \
- --build=${CHOST} --host=${CHOST}
+ cd "${srcdir}/libXi-${pkgver}"
+ ./configure --prefix=/usr --sysconfdir=/etc || return 1
make || return 1
- make DESTDIR=${startdir}/pkg install || 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
}
-md5sums=('7c510abb0cad8dc20493fb27ff7859d8')