blob: 8e2ec316e8784735497d91fe905043c608a3ac30 (
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
37
|
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=libevdev
pkgver=1.5.3
pkgrel=1
pkgdesc="Kernel Evdev Device Wrapper Library"
url="https://www.freedesktop.org/wiki/Software/libevdev"
arch="all"
license="MIT"
depends=""
makedepends="python linux-headers"
subpackages="$pkgname-dev $pkgname-doc"
source="https://freedesktop.org/software/$pkgname/$pkgname-$pkgver.tar.xz"
builddir="$srcdir/$pkgname-$pkgver"
build() {
cd "$builddir"
./configure \
--build=$CBUILD \
--host=$CHOST \
--prefix=/usr \
--sysconfdir=/etc \
--mandir=/usr/share/man \
--infodir=/usr/share/info \
--localstatedir=/var \
|| return 1
make || return 1
}
package() {
cd "$builddir"
make DESTDIR="$pkgdir" install || return 1
}
md5sums="60a9eb9a338c725d0dc571c0c978d2a7 libevdev-1.5.3.tar.xz"
sha256sums="6dd58044c35eb30e97efe0e2f388d77bd3c64036c7780171f70ddb67004e62d3 libevdev-1.5.3.tar.xz"
sha512sums="fc49b34a035296a93e8ba1481565977ced532a6305204fe0c7b017c997083794222eed31c89cd57bea743a6a63d24a346e331e0d948e380b51fe4af16f8f52dd libevdev-1.5.3.tar.xz"
|