core/libinput/PKGBUILD

27 lines
848 B
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-03-25 00:40:15 +08:00
pkgver=0.13.0
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')
makedepends=('systemd')
options=('!libtool')
2015-03-20 01:44:52 +08:00
source=(http://freedesktop.org/software/$pkgname/$pkgname-$pkgver.tar.xz)
2015-03-25 00:40:15 +08:00
sha256sums=('6cecaf7fde525f1d81474cbd495ce526d5e34c845d3e9d6f3e2565b7048cc61a')
2015-01-15 02:18:52 +08:00
build() {
cd $pkgname-$pkgver
./configure --prefix=/usr --disable-static
make
}
package() {
cd $pkgname-$pkgver
make DESTDIR="$pkgdir" install
install -Dm644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/COPYING"
}