Date: Saturday, March 10, 2018 @ 17:41:22
  Author: andyrtr
Revision: 318509

archrelease: copy trunk to testing-x86_64

Added:
  libevdev/repos/testing-x86_64/
  libevdev/repos/testing-x86_64/PKGBUILD
    (from rev 318508, libevdev/trunk/PKGBUILD)

----------+
 PKGBUILD |   37 +++++++++++++++++++++++++++++++++++++
 1 file changed, 37 insertions(+)

Copied: libevdev/repos/testing-x86_64/PKGBUILD (from rev 318508, 
libevdev/trunk/PKGBUILD)
===================================================================
--- testing-x86_64/PKGBUILD                             (rev 0)
+++ testing-x86_64/PKGBUILD     2018-03-10 17:41:22 UTC (rev 318509)
@@ -0,0 +1,37 @@
+# $Id$
+# Maintainer: Andreas Radke <andy...@archlinux.org>
+
+pkgname=libevdev
+pkgver=1.5.9
+pkgrel=1
+pkgdesc="Wrapper library for evdev devices"
+arch=(x86_64)
+url="http://www.freedesktop.org/wiki/Software/libevdev/";
+license=(custom:X11)
+depends=('glibc')
+makedepends=('python2' 'check' 'valgrind' 'doxygen')
+#checkdepends=('kmod')
+source=(https://freedesktop.org/software/$pkgname/$pkgname-$pkgver.tar.xz{,.sig})
+sha512sums=('4496ab4d9dc165f416a574c21a7fcee54ae104c21ef4785a4dd0311fff428020cdbb5da7bf3f835e78dae05effdb1a557d189347f6e62dd6be2d8bcdc845850c'
+            'SKIP')
+validpgpkeys=('3C2C43D9447D5938EF4551EBE23B7E70B467F0BF') # Peter Hutterer 
(Who-T) <off...@who-t.net>
+
+build() {
+  cd $pkgname-$pkgver
+  ./configure --prefix=/usr \
+    --disable-static
+  make
+}
+check() {
+  cd $pkgname-$pkgver
+  # test suite requires root access and needs to load uinput module
+  # that's not possible in our chroot
+  #modprobe uinput
+  make check || /bin/true
+}
+
+package() {
+  cd $pkgname-$pkgver
+  make DESTDIR="$pkgdir" install
+  install -Dm644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/COPYING"
+}

Reply via email to