[arch-commits] Commit in libkeybinder3/trunk (PKGBUILD)
Felix Yan
felixonmars at archlinux.org
Sat Mar 7 22:04:16 UTC 2020
Date: Saturday, March 7, 2020 @ 22:04:15
Author: felixonmars
Revision: 376906
upgpkg: libkeybinder3 0.3.2-3
fix build failure with gtk-doc 1.31+ (FS#63553)
Modified:
libkeybinder3/trunk/PKGBUILD
----------+
PKGBUILD | 22 +++++++++++++++-------
1 file changed, 15 insertions(+), 7 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2020-03-07 21:53:56 UTC (rev 376905)
+++ PKGBUILD 2020-03-07 22:04:15 UTC (rev 376906)
@@ -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