mirror of
https://gitdl.cn/https://github.com/chakralinux/core.git
synced 2025-02-12 00:34:38 +08:00
40 lines
1.0 KiB
Bash
40 lines
1.0 KiB
Bash
#Contributions from Arch: https://projects.archlinux.org/svntogit/packages.git/tree/trunk?h=packages/libinput
|
|
|
|
pkgname=libinput
|
|
pkgver=1.4.0
|
|
pkgrel=1
|
|
pkgdesc="Input device management and event handling library"
|
|
arch=(x86_64)
|
|
url="http://www.freedesktop.org/wiki/Software/libinput/"
|
|
license=(custom:X11)
|
|
depends=('mtdev' 'systemd' 'libevdev' 'libwacom')
|
|
install=libinput.install
|
|
options=('!libtool')
|
|
source=(http://freedesktop.org/software/$pkgname/$pkgname-$pkgver.tar.xz{,.sig})
|
|
sha256sums=('76ef10874519d1a67b57e5c68ede06106b9fbf611a3ecf69c84886107c67b420'
|
|
'SKIP')
|
|
validpgpkeys=('3C2C43D9447D5938EF4551EBE23B7E70B467F0BF') # Peter Hutterer (Who-T) <office@who-t.net>
|
|
|
|
prepare() {
|
|
cd $pkgname-$pkgver
|
|
}
|
|
|
|
build() {
|
|
cd $pkgname-$pkgver
|
|
./configure --prefix=/usr --disable-static
|
|
make
|
|
}
|
|
|
|
check() {
|
|
cd $pkgname-$pkgver
|
|
# disabled for now:
|
|
# https://github.com/libcheck/check/issues/18
|
|
# make check
|
|
}
|
|
|
|
package() {
|
|
cd $pkgname-$pkgver
|
|
make DESTDIR="$pkgdir" install
|
|
install -Dm644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/COPYING"
|
|
}
|