mirror of
https://gitdl.cn/https://github.com/chakralinux/core.git
synced 2025-02-11 03:54:36 +08:00
38 lines
1.0 KiB
Bash
38 lines
1.0 KiB
Bash
#Contributions from Arch: https://projects.archlinux.org/svntogit/packages.git/tree/trunk?h=packages/libinput
|
|
|
|
pkgname=libinput
|
|
pkgver=1.3.1
|
|
pkgrel=1
|
|
pkgdesc="library that handles input devices for display servers and other applications that need to directly deal with input devices."
|
|
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=('cdff653d93395c718f367af61fee866914bc45de75ac94abe7dc1b720462aca9'
|
|
'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
|
|
make check
|
|
}
|
|
|
|
package() {
|
|
cd $pkgname-$pkgver
|
|
make DESTDIR="$pkgdir" install
|
|
install -Dm644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/COPYING"
|
|
}
|