blob: 3f82b01b1a6d0b2da129b40ce1295fa1f71e3b9e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
|
# Maintainer: Joel Teichroeb <joel@teichroeb.net>
pkgname=libinput-git
pkgver=1.7.0.r102.ga2a8db2
pkgrel=1
pkgdesc='A library to handle input devices in Wayland compositors'
arch=(i686 x86_64)
url='http://freedesktop.org/wiki/Software/libinput/'
provides=("libinput=${pkgver}")
license=('MIT')
depends=('mtdev' 'systemd' 'libevdev' 'libwacom')
makedepends=('git' 'doxygen' 'graphviz' 'gtk3')
conflicts=('libinput')
source=(git://anongit.freedesktop.org/wayland/libinput)
sha1sums=('SKIP')
pkgver() {
cd libinput
git describe --long | sed -r 's/([^-]*-g)/r\1/;s/-/./g'
}
build() {
cd libinput
./autogen.sh --prefix=/usr --disable-static --disable-tests
make
}
package() {
cd libinput
make DESTDIR="${pkgdir}" install
install -Dm644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/COPYING"
# install doc - no Makefile target
install -v -dm755 ${pkgdir}/usr/share/doc/libinput
}
|