summaryrefslogtreecommitdiff
path: root/user/xf86-input-evdev/APKBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'user/xf86-input-evdev/APKBUILD')
-rw-r--r--user/xf86-input-evdev/APKBUILD39
1 files changed, 39 insertions, 0 deletions
diff --git a/user/xf86-input-evdev/APKBUILD b/user/xf86-input-evdev/APKBUILD
new file mode 100644
index 000000000..014f8911f
--- /dev/null
+++ b/user/xf86-input-evdev/APKBUILD
@@ -0,0 +1,39 @@
+# Maintainer: A. Wilcox <awilfox@adelielinux.org>
+pkgname=xf86-input-evdev
+pkgver=2.10.6
+pkgrel=0
+pkgdesc="X.Org input driver - Evdev"
+url="https://www.X.Org/"
+arch="all"
+license="MIT"
+subpackages="$pkgname-doc $pkgname-dev"
+depends=""
+makedepends="libxkbfile-dev xorg-server-dev libxi-dev libxrandr-dev
+ eudev-dev mtdev-dev libevdev-dev"
+source="https://www.X.Org/releases/individual/driver/$pkgname-$pkgver.tar.bz2"
+
+build() {
+ cd "$builddir"
+ export LDFLAGS="$LDFLAGS -Wl,-z,lazy"
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
+ --sysconfdir=/etc \
+ --mandir=/usr/share/man \
+ --localstatedir=/var
+ make
+}
+
+check() {
+ cd "$builddir"
+ make check
+}
+
+package() {
+ cd "$builddir"
+ make DESTDIR="$pkgdir" install
+ install -Dm644 COPYING "$pkgdir"/usr/share/licenses/$pkgname/COPYING
+}
+
+sha512sums="560b0a6491d50a46913a5890a35c0367e59f550670993493bd9712d712a9747ddaa6fe5086daabf2fcafa24b0159383787eb273da4a2a60c089bfc0a77ad2ad1 xf86-input-evdev-2.10.6.tar.bz2"