[arch-commits] Commit in libevdev/repos (testing-x86_64 testing-x86_64/PKGBUILD)

Andreas Radke andyrtr at archlinux.org
Mon Mar 2 07:49:19 UTC 2020


    Date: Monday, March 2, 2020 @ 07:49:18
  Author: andyrtr
Revision: 376477

archrelease: copy trunk to testing-x86_64

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

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

Copied: libevdev/repos/testing-x86_64/PKGBUILD (from rev 376476, libevdev/trunk/PKGBUILD)
===================================================================
--- testing-x86_64/PKGBUILD	                        (rev 0)
+++ testing-x86_64/PKGBUILD	2020-03-02 07:49:18 UTC (rev 376477)
@@ -0,0 +1,36 @@
+# Maintainer: Andreas Radke <andyrtr at archlinux.org>
+
+pkgname=libevdev
+pkgver=1.9.0
+pkgrel=1
+pkgdesc="Wrapper library for evdev devices"
+arch=(x86_64)
+url="https://www.freedesktop.org/wiki/Software/libevdev/"
+license=(custom:X11)
+depends=('glibc')
+makedepends=('python' 'check' 'valgrind' 'doxygen')
+#checkdepends=('kmod')
+source=(https://freedesktop.org/software/$pkgname/$pkgname-$pkgver.tar.xz{,.sig})
+sha512sums=('6e7589b5776437ac23fbf65b3194fb1dd3a68a294696145060cdd97bcdeb9b04f355f2be028dc1a5efe98ef2cafca15e4f61115edf5d62591e3a8944dc95942a'
+            'SKIP')
+validpgpkeys=('3C2C43D9447D5938EF4551EBE23B7E70B467F0BF') # Peter Hutterer (Who-T) <office at 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"
+}



More information about the arch-commits mailing list