Date: Sunday, June 25, 2017 @ 16:24:06
  Author: andyrtr
Revision: 299225

upgpkg: xkeyboard-config 2.21-2

add upstream fix for a typo; FS#54584

Modified:
  xkeyboard-config/trunk/PKGBUILD

----------+
 PKGBUILD |   12 ++++++++++--
 1 file changed, 10 insertions(+), 2 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD    2017-06-25 16:11:24 UTC (rev 299224)
+++ PKGBUILD    2017-06-25 16:24:06 UTC (rev 299225)
@@ -4,7 +4,7 @@
 
 pkgname=xkeyboard-config
 pkgver=2.21
-pkgrel=1
+pkgrel=2
 pkgdesc="X keyboard configuration files"
 arch=(any)
 license=('custom')
@@ -13,12 +13,20 @@
 provides=('xkbdata')
 replaces=('xkbdata')
 conflicts=('xkbdata')
-source=(https://xorg.freedesktop.org/archive/individual/data/${pkgname}/${pkgname}-${pkgver}.tar.bz2{,.sig})
+source=(https://xorg.freedesktop.org/archive/individual/data/${pkgname}/${pkgname}-${pkgver}.tar.bz2{,.sig}
+       
fix_typo.diff::https://cgit.freedesktop.org/xkeyboard-config/patch/?id=b3fb72308942f705e3e8e17765e4097773ed5483)
 validpgpkeys=('FFB4CCD275AAA422F5F9808E0661D98FC933A145')
 validpgpkeys+=('15CFA5C595041D2CCBEA155F1732AA424A0E86B4') # "Sergey Udaltsov 
(For GNOME-related tasks) <s...@gnome.org>"
 sha256sums=('30c17049fae129fc14875656da9aa3099e3031d6ce0ee1d77aae190fd9edcec5'
+            'SKIP'
             'SKIP')
 
+prepare() {
+  cd ${pkgname}-${pkgver}
+  # https://bugs.archlinux.org/task/54584
+  patch -Np1 -i ../fix_typo.diff
+}
+
 build() {
   cd ${pkgname}-${pkgver}
   ./configure --prefix=/usr \

Reply via email to