From afcaa7a3496ec2449d9de7ab6115b8a8eabacdf5 Mon Sep 17 00:00:00 2001
From: Britney Fransen <brfransen@gmail.com>
Date: Fri, 17 Jun 2016 12:44:35 +0000
Subject: kbproto: update to 1.0.7

---
 abs/core/kbproto/PKGBUILD | 25 +++++++++++++------------
 1 file changed, 13 insertions(+), 12 deletions(-)

diff --git a/abs/core/kbproto/PKGBUILD b/abs/core/kbproto/PKGBUILD
index 89c1a56..fcecda0 100644
--- a/abs/core/kbproto/PKGBUILD
+++ b/abs/core/kbproto/PKGBUILD
@@ -1,25 +1,26 @@
-# $Id: PKGBUILD 88385 2010-08-23 08:11:58Z jgc $
+# $Id$
 #Maintainer: Jan de Groot <jgc@archlinux.org>
 
 pkgname=kbproto
-pkgver=1.0.5
+pkgver=1.0.7
 pkgrel=1
 pkgdesc="X11 XKB extension wire protocol"
-arch=(any)
+arch=('any')
 url="http://xorg.freedesktop.org/"
 license=('custom')
-source=(${url}/releases/individual/proto/${pkgname}-${pkgver}.tar.bz2)
-sha1sums=('d95fada09399568c434729b436e1a09503e15b7a')
+source=(${url}/releases/individual/proto/${pkgname}-${pkgver}.tar.bz2{,.sig})
+sha256sums=('f882210b76376e3fa006b11dbd890e56ec0942bc56e65d1249ff4af86f90b857'
+            'SKIP')
+validpgpkeys=('4A193C06D35E7C670FA4EF0BA2FB9E081F2D130E') #Alan Coopersmith <alan.coopersmith@oracle.com>
 
 build() {
-  cd "${srcdir}/${pkgname}-${pkgver}"
+  cd ${pkgname}-${pkgver}
   ./configure --prefix=/usr
-  make || return 1
+  make
 }
+
 package() {
-  cd "${srcdir}/${pkgname}-${pkgver}"
-  make DESTDIR="${pkgdir}" install || return 1
-  install -m755 -d "${pkgdir}/usr/share/licenses/${pkgname}"
-  install -m644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/"
+  cd ${pkgname}-${pkgver}
+  make DESTDIR="${pkgdir}" install
+  install -Dm644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/COPYING"
 }
-
-- 
cgit v0.12

