From d31e6d5a5c58f3673869ac14f1e508dc88ad9a26 Mon Sep 17 00:00:00 2001
From: Michael Hanson <hansonorders@verizon.net>
Date: Fri, 3 Dec 2010 03:31:24 +0000
Subject: xcmiscproto: upgrade

---
 abs/core/xcmiscproto/PKGBUILD | 23 ++++++++++++++---------
 1 file changed, 14 insertions(+), 9 deletions(-)

diff --git a/abs/core/xcmiscproto/PKGBUILD b/abs/core/xcmiscproto/PKGBUILD
index ccdbff8..f7803b4 100644
--- a/abs/core/xcmiscproto/PKGBUILD
+++ b/abs/core/xcmiscproto/PKGBUILD
@@ -1,21 +1,26 @@
-# $Id: PKGBUILD 356 2008-04-18 22:56:27Z aaron $
+# $Id: PKGBUILD 97539 2010-10-31 15:37:25Z jgc $
 #Maintainer: Jan de Groot <jgc@archlinux.org>
 
 pkgname=xcmiscproto
-pkgver=1.2.0
+pkgver=1.2.1
 pkgrel=1
 pkgdesc="X11 XC-Miscellaneous extension wire protocol"
-arch=(i686 x86_64)
+arch=(any)
 url="http://xorg.freedesktop.org/"
+license=('custom')
+makedepends=('xorg-util-macros')
 source=(${url}/releases/individual/proto/${pkgname}-${pkgver}.tar.bz2)
+sha1sums=('ff7ddb6e5698bf4461a524ca30f3b32e2a9dce8a')
 
 build() {
-  cd ${startdir}/src/${pkgname}-${pkgver}
+  cd "${srcdir}/${pkgname}-${pkgver}"
   ./configure --prefix=/usr
-  make || return 1
+  make
 }
-package () {
-  cd ${startdir}/src/${pkgname}-${pkgver}
-  make DESTDIR=${startdir}/pkg install || return 1
+package() {
+  cd "${srcdir}/${pkgname}-${pkgver}"
+  make DESTDIR="${pkgdir}" install
+  install -m755 -d "${pkgdir}/usr/share/licenses/${pkgname}"
+  install -m644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/"
 }
-md5sums=('7b83e4a7e9f4edc9c6cfb0500f4a7196')
+
-- 
cgit v0.12

