aboutsummaryrefslogtreecommitdiffstats
path: root/community/evtest/APKBUILD
blob: 8f8399b0076716eb30193d9db2d121aaf30df14d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
# Contributor: Timo Teräs <timo.teras@iki.fi>
# Maintainer: Timo Teräs <timo.teras@iki.fi>
pkgname=evtest
pkgver=1.34
pkgrel=1
pkgdesc="monitor input layer events"
options="!check" # No testsuite
url="https://cgit.freedesktop.org/evtest/"
arch="all !ppc64le"
license="GPL-2.0"
makedepends="linux-headers autoconf automake libtool"
source="https://src.fedoraproject.org/repo/pkgs/evtest/evtest-$pkgver.tar.bz2/sha512/94f9ff2642abbd0393d7583edd10f83487a1985963bf3186a0c957bf1d56cef30501bb38ac4df0312eab59f633a606e25638a09e43dc6f3bc31f49aa3c7cec52/evtest-$pkgver.tar.bz2
	fix-ppc64le-musl.patch
	0001-Fix-build-on-32bit-arches-with-64bit-time_t.patch
	"

prepare() {
	default_prepare
	autoreconf -fi
}

build() {
	./configure \
		--build=$CBUILD \
		--host=$CHOST \
		--prefix=/usr
	make
}

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

sha512sums="94f9ff2642abbd0393d7583edd10f83487a1985963bf3186a0c957bf1d56cef30501bb38ac4df0312eab59f633a606e25638a09e43dc6f3bc31f49aa3c7cec52  evtest-1.34.tar.bz2
da2d7f44235e270e19b352c04e2d53a17839bdc93d942f7481c6162037e2f71d714dde9193643498641a2e941da69c2b2b8cb005f2951d4e584fb4796c57412b  fix-ppc64le-musl.patch
2ab94d569eb23f0c9991b22403e1360aa31826f8b6e3111fab8c67802290102a9f0a0a78f1882a1baa5dbfc1b1d6e87929e7d9c19f7402fc25cca4f6c88990b4  0001-Fix-build-on-32bit-arches-with-64bit-time_t.patch"