summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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}/"
}