core/libinput/PKGBUILD

38 lines
1.0 KiB
Bash
Raw Normal View History

2015-03-20 01:44:52 +08:00
#Contributions from Arch: https://projects.archlinux.org/svntogit/packages.git/tree/trunk?h=packages/libinput
2015-01-15 02:18:52 +08:00
pkgname=libinput
2015-12-22 18:25:34 +08:00
pkgver=1.1.4
2015-01-15 02:18:52 +08:00
pkgrel=1
pkgdesc="library that handles input devices for display servers and other applications that need to directly deal with input devices."
2015-03-20 01:44:52 +08:00
arch=(x86_64)
2015-01-15 02:18:52 +08:00
url="http://www.freedesktop.org/wiki/Software/libinput/"
license=(custom:X11)
depends=('mtdev' 'systemd' 'libevdev')
2015-11-20 03:23:30 +08:00
install=libinput.install
2015-01-15 02:18:52 +08:00
options=('!libtool')
2015-12-22 18:25:34 +08:00
source=(http://freedesktop.org/software/$pkgname/$pkgname-$pkgver.tar.xz{,.sig})
sha256sums=('302cb76209b9c57a5a318e178f9bc446eede8ea79386103b5291cbfaa5fab5b6'
'SKIP')
validpgpkeys=('3C2C43D9447D5938EF4551EBE23B7E70B467F0BF') # Peter Hutterer (Who-T) <office@who-t.net>
prepare() {
cd $pkgname-$pkgver
}
2015-01-15 02:18:52 +08:00
build() {
cd $pkgname-$pkgver
./configure --prefix=/usr --disable-static
make
}
2015-12-22 18:25:34 +08:00
check() {
cd $pkgname-$pkgver
make check
}
2015-01-15 02:18:52 +08:00
package() {
cd $pkgname-$pkgver
make DESTDIR="$pkgdir" install
install -Dm644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/COPYING"
}