[arch-commits] Commit in libinput/trunk (PKGBUILD)
Jan de Groot
jgc at archlinux.org
Fri Feb 23 21:12:45 UTC 2018
Date: Friday, February 23, 2018 @ 21:12:44
Author: jgc
Revision: 317442
upgpkg: libinput 1.10.0+25+g3e77f2e9-1
Update to git snapshot
Modified:
libinput/trunk/PKGBUILD
----------+
PKGBUILD | 22 +++++++++++++---------
1 file changed, 13 insertions(+), 9 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2018-02-23 20:24:07 UTC (rev 317441)
+++ PKGBUILD 2018-02-23 21:12:44 UTC (rev 317442)
@@ -3,7 +3,7 @@
# Maintainer: Jan de Groot
pkgname=libinput
-pkgver=1.10.0
+pkgver=1.10.0+25+g3e77f2e9
pkgrel=1
pkgdesc="Input device management and event handling library"
url="https://www.freedesktop.org/wiki/Software/libinput/"
@@ -10,17 +10,21 @@
arch=(x86_64)
license=(custom:X11)
depends=('mtdev' 'systemd' 'libevdev' 'libwacom')
-makedepends=('doxygen' 'graphviz' 'gtk3' 'meson')
+makedepends=('doxygen' 'graphviz' 'gtk3' 'meson' git)
optdepends=('gtk3: libinput debug-gui'
'python-pyudev: libinput measure'
'python-evdev: libinput measure')
-source=(https://freedesktop.org/software/$pkgname/$pkgname-$pkgver.tar.xz{,.sig})
-sha512sums=('173f72f454c534dee755b6121c4577900ae9b8a129ac41de69410c3195950a6d149d6148892c4976f013eeabca66117d53fa67e352cc005960863a5576696928'
- 'SKIP')
-validpgpkeys=('3C2C43D9447D5938EF4551EBE23B7E70B467F0BF') # Peter Hutterer (Who-T) <office at who-t.net>
+_commit=3e77f2e9f5a98fc5917642bd47ceeef89b95c858 # master
+source=("git+https://anongit.freedesktop.org/git/wayland/libinput#commit=$_commit")
+sha512sums=('SKIP')
+pkgver() {
+ cd $pkgname
+ git describe --tags | sed 's/-/+/g'
+}
+
prepare() {
- cd $pkgname-$pkgver
+ cd $pkgname
# Reduce docs size
printf '%s\n' >>doc/libinput.doxygen.in \
HAVE_DOT=yes DOT_IMAGE_FORMAT=svg INTERACTIVE_SVG=yes
@@ -27,7 +31,7 @@
}
build() {
- arch-meson $pkgname-$pkgver build -Dtests=false
+ arch-meson $pkgname build -Dtests=false
ninja -C build
}
@@ -34,7 +38,7 @@
package() {
DESTDIR="$pkgdir" ninja -C build install
- install -Dvm644 $pkgname-$pkgver/COPYING \
+ install -Dvm644 $pkgname/COPYING \
"$pkgdir/usr/share/licenses/$pkgname/LICENSE"
# install doc - no Makefile target
More information about the arch-commits
mailing list