summaryrefslogtreecommitdiff
path: root/user/libevdev/APKBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'user/libevdev/APKBUILD')
-rw-r--r--user/libevdev/APKBUILD39
1 files changed, 39 insertions, 0 deletions
diff --git a/user/libevdev/APKBUILD b/user/libevdev/APKBUILD
new file mode 100644
index 000000000..acc47acba
--- /dev/null
+++ b/user/libevdev/APKBUILD
@@ -0,0 +1,39 @@
+# Maintainer: A. Wilcox <awilfox@adelielinux.org>
+pkgname=libevdev
+pkgver=1.5.9
+pkgrel=0
+pkgdesc="Wrapper library for kernel event devices"
+url="https://www.freedesktop.org/wiki/Software/libevdev"
+arch="all"
+options="!check" # Requires CONFIG_INPUT_UINPUT in kernel
+license="MIT"
+depends=""
+makedepends="doxygen linux-headers python3"
+checkdepends="check-dev"
+subpackages="$pkgname-dev $pkgname-doc"
+source="https://freedesktop.org/software/$pkgname/$pkgname-$pkgver.tar.xz"
+
+build() {
+ cd "$builddir"
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
+ --sysconfdir=/etc \
+ --mandir=/usr/share/man \
+ --infodir=/usr/share/info \
+ --localstatedir=/var
+ make
+}
+
+check() {
+ cd "$builddir"
+ make check
+}
+
+package() {
+ cd "$builddir"
+ make DESTDIR="$pkgdir" install
+}
+
+sha512sums="4496ab4d9dc165f416a574c21a7fcee54ae104c21ef4785a4dd0311fff428020cdbb5da7bf3f835e78dae05effdb1a557d189347f6e62dd6be2d8bcdc845850c libevdev-1.5.9.tar.xz"