APKBUILD 1.07 KB
Newer Older
1 2 3
# Contributor: Timo Teräs <timo.teras@iki.fi>
# Maintainer: Timo Teräs <timo.teras@iki.fi>
pkgname=evtest
Leo's avatar
Leo committed
4
pkgver=1.34
5 6
pkgrel=0
pkgdesc="monitor input layer events"
Leo's avatar
Leo committed
7
options="!check" # No testsuite
8
url="https://cgit.freedesktop.org/evtest/"
9
arch="all !ppc64le"
10
license="GPL-2.0"
Leo's avatar
Leo committed
11
makedepends="linux-headers autoconf automake libtool"
12 13 14
source="https://src.fedoraproject.org/repo/pkgs/evtest/evtest-$pkgver.tar.bz2/sha512/94f9ff2642abbd0393d7583edd10f83487a1985963bf3186a0c957bf1d56cef30501bb38ac4df0312eab59f633a606e25638a09e43dc6f3bc31f49aa3c7cec52/evtest-$pkgver.tar.bz2
	fix-ppc64le-musl.patch
	"
15

Leo's avatar
Leo committed
16 17 18 19
prepare() {
	default_prepare
	autoreconf -fi
}
20 21 22 23 24

build() {
	./configure \
		--build=$CBUILD \
		--host=$CHOST \
Leo's avatar
Leo committed
25
		--prefix=/usr
26 27 28 29 30 31 32
	make
}

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

33 34
sha512sums="94f9ff2642abbd0393d7583edd10f83487a1985963bf3186a0c957bf1d56cef30501bb38ac4df0312eab59f633a606e25638a09e43dc6f3bc31f49aa3c7cec52  evtest-1.34.tar.bz2
d436fc203af62d8463c60517dd9d75a866af62db5d074569621d421dd343d2acbf880735fec8cd3d3f2e8f3f97c25c2c8738d31448d78ffb275930ec299ba0a5  fix-ppc64le-musl.patch"