# Contributor: Timo Teräs <timo.teras@iki.fi>
# Maintainer: Timo Teräs <timo.teras@iki.fi>
pkgname=evtest
pkgver=1.33
pkgrel=0
pkgdesc="monitor input layer events"
url="https://cgit.freedesktop.org/evtest/"
arch="all"
license="GPL-2.0"
depends=""
makedepends="linux-headers"
install=""
subpackages=""
source="http://pkgs.fedoraproject.org/repo/pkgs/$pkgname/$pkgname-$pkgver.tar.bz2/3e3337df64e1ce8bc7ea8f25fef7c9f0/$pkgname-$pkgver.tar.bz2"

builddir="$srcdir"/$pkgname-$pkgver

build() {
	cd "$builddir"
	./configure \
		--build=$CBUILD \
		--host=$CHOST \
		--prefix=/usr \
		|| return 1
	make
}

package() {
	cd "$builddir"
	make install DESTDIR="$pkgdir"
}

md5sums="3e3337df64e1ce8bc7ea8f25fef7c9f0  evtest-1.33.tar.bz2"
sha256sums="74415dd75cfa1395d4c3218866b87b646667603d726c7e24365d65d9d341dcfe  evtest-1.33.tar.bz2"
sha512sums="8e03be866d47fa7fa20299a4ef99b99d0a91c2c4f965d2cc2084374e83a2d858ea6ea6bd3067fc2bc667e4ea07a6fb9b18675f8dfb5f22cd6cc07553aad9a9a6  evtest-1.33.tar.bz2"
