From 67c53d30b9df5436ddafe21c22a6c0d75ae6f457 Mon Sep 17 00:00:00 2001
From: Britney Fransen <brfransen@gmail.com>
Date: Thu, 21 Feb 2019 18:37:09 +0000
Subject: wayland-protocols: update to 1.17

---
 abs/extra/wayland-protocols/PKGBUILD | 17 +++++++++++++----
 1 file changed, 13 insertions(+), 4 deletions(-)

diff --git a/abs/extra/wayland-protocols/PKGBUILD b/abs/extra/wayland-protocols/PKGBUILD
index 88b7dd1..2c721cc 100644
--- a/abs/extra/wayland-protocols/PKGBUILD
+++ b/abs/extra/wayland-protocols/PKGBUILD
@@ -1,8 +1,7 @@
-# $Id$
 # Maintainer: Sébastien Luttringer <seblu@seblu.net>
 
 pkgname=wayland-protocols
-pkgver=1.12
+pkgver=1.17
 pkgrel=1
 pkgdesc='Specifications of extended Wayland protocols'
 arch=('any')
@@ -12,9 +11,13 @@ makedepends=('wayland')
 validpgpkeys=('8307C0A224BABDA1BABD0EB9A6EEEC9E0136164A'  # Jonas Ådahl
               'A66D805F7C9329B4C5D82767CCC4F07FAC641EFF') # Daniel Stone
 source=("https://wayland.freedesktop.org/releases/$pkgname-$pkgver.tar.xz"{,.sig})
-sha1sums=('ac908e91c6c5e7802c0af48f55725ad683017e72'
+sha1sums=('7d2569c838c776545e3eb1b1049b9c37178aae24'
           'SKIP')
 
+prepare() {
+  cd $pkgname-$pkgver
+}
+
 build() {
   cd $pkgname-$pkgver
 
@@ -22,11 +25,17 @@ build() {
   make
 }
 
+check() {
+  cd $pkgname-$pkgver
+
+  make check
+}
+
 package() {
   cd $pkgname-$pkgver
 
   make DESTDIR="$pkgdir" install
-  install -Dm 644 COPYING "$pkgdir/usr/share/licenses/$pkgname/COPYING"
+  install -Dt "$pkgdir/usr/share/licenses/$pkgname" -m 644 COPYING
 }
 
 # vim:set ts=2 sw=2 et:
-- 
cgit v0.12

