Date: Saturday, October 27, 2018 @ 08:30:37
  Author: andyrtr
Revision: 337362

archrelease: copy trunk to testing-x86_64

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

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

Copied: libevdev/repos/testing-x86_64/PKGBUILD (from rev 337361, 
libevdev/trunk/PKGBUILD)
===================================================================
--- testing-x86_64/PKGBUILD                             (rev 0)
+++ testing-x86_64/PKGBUILD     2018-10-27 08:30:37 UTC (rev 337362)
@@ -0,0 +1,36 @@
+# Maintainer: Andreas Radke <andy...@archlinux.org>
+
+pkgname=libevdev
+pkgver=1.6.0
+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=('73046da447773716c9f0c9f511f3a0a6ababcf92a146eba363014afcbdb465f4c3cd8be0917f2f01561a72f24f20fe8ecd333467437d9d85c03afcb433d05060'
+            '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