update mtdev and libinput

This commit is contained in:
Weng Xuetian 2015-12-22 11:25:34 +01:00
parent 791ea6cdc6
commit 68c4e9243e
2 changed files with 23 additions and 9 deletions

View File

@ -1,7 +1,7 @@
#Contributions from Arch: https://projects.archlinux.org/svntogit/packages.git/tree/trunk?h=packages/libinput
pkgname=libinput
pkgver=1.1.1
pkgver=1.1.4
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)
@ -10,8 +10,14 @@ license=(custom:X11)
depends=('mtdev' 'systemd' 'libevdev')
install=libinput.install
options=('!libtool')
source=(http://freedesktop.org/software/$pkgname/$pkgname-$pkgver.tar.xz)
sha256sums=('2de2b433ddc73ba1bfd4d309fd873d0ced6937cf1a7a94e4afbf18ddd8f8dd17')
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
}
build() {
cd $pkgname-$pkgver
@ -19,6 +25,11 @@ build() {
make
}
check() {
cd $pkgname-$pkgver
make check
}
package() {
cd $pkgname-$pkgver
make DESTDIR="$pkgdir" install

View File

@ -4,16 +4,15 @@
# maintainer abveritas[at]chakra-project[dot]org>
pkgname=mtdev
pkgver=1.1.2
pkgver=1.1.5
pkgrel=1
pkgdesc="A stand-alone library which transforms all variants of kernel MT events to the slotted type B protocol"
arch=('i686' 'x86_64')
url="http://bitmath.org/code/mtdev"
url="http://bitmath.org/code/mtdev/"
license=('custom:MIT')
depends=('glibc')
options=('!libtool')
source=("$url/$pkgname-$pkgver.tar.bz2")
md5sums=('d9c7700918fc392e29da7477ae20c5c2')
source=("$url$pkgname-$pkgver.tar.bz2")
md5sums=('52c9610b6002f71d1642dc1a1cca5ec1')
build() {
cd "$srcdir/$pkgname-$pkgver"
@ -21,6 +20,11 @@ build() {
make
}
check() {
cd "$srcdir/$pkgname-$pkgver"
make -k check
}
package() {
cd "$srcdir/$pkgname-$pkgver"
make DESTDIR="$pkgdir/" install
@ -29,4 +33,3 @@ package() {
install -Dm644 COPYING \
"$pkgdir/usr/share/licenses/$pkgname/LICENSE"
}