[arch-commits] Commit in libkeybinder3/repos (community-x86_64 extra-x86_64/PKGBUILD)

Felix Yan felixonmars at archlinux.org
Sat Mar 7 22:05:59 UTC 2020


    Date: Saturday, March 7, 2020 @ 22:05:59
  Author: felixonmars
Revision: 376908

fix broken pkgrelease

Modified:
  libkeybinder3/repos/extra-x86_64/PKGBUILD
Deleted:
  libkeybinder3/repos/community-x86_64/

----------+
 PKGBUILD |   22 +++++++++++++++-------
 1 file changed, 15 insertions(+), 7 deletions(-)

Modified: extra-x86_64/PKGBUILD
===================================================================
--- extra-x86_64/PKGBUILD	2020-03-07 22:04:25 UTC (rev 376907)
+++ extra-x86_64/PKGBUILD	2020-03-07 22:05:59 UTC (rev 376908)
@@ -1,9 +1,10 @@
-# Maintainer: Eric Bélanger <eric at archlinux.org>
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Eric Bélanger <eric at archlinux.org>
 # Contributor: speps <speps at aur dot archlinux dot org>
 
 pkgname=libkeybinder3
 pkgver=0.3.2
-pkgrel=2
+pkgrel=3
 pkgdesc="A library for registering global keyboard shortcuts"
 arch=('x86_64')
 url="https://github.com/engla/keybinder/tree/keybinder-3.0"
@@ -11,19 +12,26 @@
 depends=('gtk3')
 makedepends=('gtk-doc' 'gobject-introspection')
 optdepends=('lua-lgi: lua bindings')
-source=(https://github.com/kupferlauncher/keybinder/releases/download/keybinder-3.0-v$pkgver/keybinder-3.0-$pkgver.tar.gz{,.sig})
+source=(https://github.com/kupferlauncher/keybinder/releases/download/keybinder-3.0-v$pkgver/keybinder-3.0-$pkgver.tar.gz{,.sig}
+        libkeybinder3-gtk-doc.patch::https://github.com/kupferlauncher/keybinder/pull/18.patch)
 sha1sums=('d23c12440b54cb0f40e7e876c22001dc7b5714b0'
-          'SKIP')
+          'SKIP'
+          '32333351bda812c4449e943f7da860fe443a4d0a')
 validpgpkeys=('2578ABA1F9023159DFF211B7368712C4D7A44445') # Ulrik Sverdrup <ulrik.sverdrup at gmail.com>
 
+prepare() {
+  cd keybinder-3.0-$pkgver
+  patch -p1 -i ../libkeybinder3-gtk-doc.patch
+}
+
 build() {
-  cd keybinder-3.0-${pkgver}
+  cd keybinder-3.0-$pkgver
   ./configure --prefix=/usr --enable-gtk-doc
   make
 }
 
 package() {
-  cd keybinder-3.0-${pkgver}
+  cd keybinder-3.0-$pkgver
   make DESTDIR="$pkgdir" install
-  install -Dm644 COPYING "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+  install -Dm644 COPYING "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
 }



More information about the arch-commits mailing list