summaryrefslogtreecommitdiffstats
path: root/abs/core/libxi/PKGBUILD
diff options
context:
space:
mode:
authorBritney Fransen <brfransen@gmail.com>2011-08-06 02:53:55 (GMT)
committerBritney Fransen <brfransen@gmail.com>2011-08-06 02:53:55 (GMT)
commitc617d53e582f72632481607391100049553eb9b6 (patch)
treece385d4b48429ef5f049fcb6aa99ac0bf304bb29 /abs/core/libxi/PKGBUILD
parentf7a2bfb73c6ce06100f4d0934739168288224dae (diff)
downloadlinhes_pkgbuild-c617d53e582f72632481607391100049553eb9b6.zip
linhes_pkgbuild-c617d53e582f72632481607391100049553eb9b6.tar.gz
linhes_pkgbuild-c617d53e582f72632481607391100049553eb9b6.tar.bz2
libxi: Bump to latest.
Diffstat (limited to 'abs/core/libxi/PKGBUILD')
-rw-r--r--abs/core/libxi/PKGBUILD26
1 files changed, 15 insertions, 11 deletions
diff --git a/abs/core/libxi/PKGBUILD b/abs/core/libxi/PKGBUILD
index 6abbf85..42fabdc 100644
--- a/abs/core/libxi/PKGBUILD
+++ b/abs/core/libxi/PKGBUILD
@@ -1,25 +1,29 @@
-# $Id: PKGBUILD 57676 2009-11-01 14:14:29Z jgc $
+# $Id$
# Maintainer: Jan de Groot <jgc@archlinux.org>
pkgname=libxi
-pkgver=1.3
-pkgrel=2
+pkgver=1.4.3
+pkgrel=1
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)
+depends=('libxext' 'inputproto')
+makedepends=('pkgconfig' 'xorg-util-macros')
+options=(!libtool)
license=('custom')
source=(${url}/releases/individual/lib/libXi-${pkgver}.tar.bz2)
-md5sums=('8df4ece9bd1efb02c28acb2b6f485e09')
+sha1sums=('c66cfdee74e8d169a7992b5f257395e653ca761b')
build() {
cd "${srcdir}/libXi-${pkgver}"
- ./configure --prefix=/usr --sysconfdir=/etc --disable-static || return 1
- make || return 1
- make DESTDIR="${pkgdir}" install || return 1
+ ./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}/" || return 1
+ install -m644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/"
}