From 9db18947b36b23e81d484abcb5bc0e3f2bb6098e Mon Sep 17 00:00:00 2001
From: Michael Hanson <hansonorders@verizon.net>
Date: Tue, 16 Nov 2010 03:34:40 +0000
Subject: libice: up to latest

---
 abs/core/libice/PKGBUILD | 31 +++++++++++++++++++------------
 1 file changed, 19 insertions(+), 12 deletions(-)

diff --git a/abs/core/libice/PKGBUILD b/abs/core/libice/PKGBUILD
index 64378a3..70a538c 100644
--- a/abs/core/libice/PKGBUILD
+++ b/abs/core/libice/PKGBUILD
@@ -1,22 +1,29 @@
-# $Id: PKGBUILD 356 2008-04-18 22:56:27Z aaron $
-# Maintainer: Alexander Baldeck <alexander@archlinux.org>
-# Contributor: Jan de Groot <jgc@archlinux.org>
+# $Id: PKGBUILD 96500 2010-10-21 21:18:07Z jgc $
+# Contributor: Alexander Baldeck <alexander@archlinux.org>
+# Maintainer: Jan de Groot <jgc@archlinux.org>
 pkgname=libice
-pkgver=1.0.4
+pkgver=1.0.7
 pkgrel=1
 pkgdesc="X11 Inter-Client Exchange library"
-arch=(i686 x86_64)
+arch=('i686' 'x86_64')
 url="http://xorg.freedesktop.org/"
-depends=('glibc' 'xproto')
-makedepends=('pkgconfig' 'xtrans')
+depends=('glibc' 'xproto>=7.0.18')
+makedepends=('pkgconfig' 'xtrans>=1.2.5')
 options=('!libtool')
 source=(${url}/releases/individual/lib/libICE-${pkgver}.tar.bz2)
+license=('custom')
+sha1sums=('c7d0f4c5b0e999385445b8be1bc89aec4e5de71d')
 
 build() {
-  cd ${startdir}/src/libICE-${pkgver}
-  ./configure --prefix=/usr --sysconfdir=/etc \
-              --build=${CHOST} --host=${CHOST}
+  cd "${srcdir}/libICE-${pkgver}"
+  ./configure --prefix=/usr --sysconfdir=/etc
   make || return 1
-  make DESTDIR=${startdir}/pkg install || return 1
 }
-md5sums=('4ab4e67e0b8845aa201e984153087f4a')
+package() {
+  cd "${srcdir}/libICE-${pkgver}"
+  make DESTDIR="${pkgdir}" install || return 1
+
+  install -d "${pkgdir}/usr/share/licenses/${pkgname}"
+  install -m644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/"
+}
+
-- 
cgit v0.12