Date: Sunday, July 8, 2018 @ 14:14:53
  Author: foutrelis
Revision: 354948

archrelease: copy trunk to community-staging-x86_64

Added:
  evemu/repos/community-staging-x86_64/
  evemu/repos/community-staging-x86_64/PKGBUILD
    (from rev 354947, evemu/trunk/PKGBUILD)

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

Copied: evemu/repos/community-staging-x86_64/PKGBUILD (from rev 354947, 
evemu/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD                           (rev 0)
+++ community-staging-x86_64/PKGBUILD   2018-07-08 14:14:53 UTC (rev 354948)
@@ -0,0 +1,45 @@
+# $Id$
+# Maintainer: Anatol Pomozov
+# Contributor: Nicolas Quiénot < niQo at aur >
+# Contributor: Damián Nohales <damiannohales at gmail.com>
+ 
+pkgname=evemu
+pkgver=2.7.0
+pkgrel=3
+pkgdesc='Tools and bindings for kernel input event device emulation and data 
capture and replay'
+arch=(x86_64)
+url='https://www.freedesktop.org/wiki/Evemu'
+license=(GPL3)
+depends=(libevdev)
+makedepends=(asciidoc python python2 xmlto)
+optdepends=('python: Python 3 bindings'
+            'python2: Python 2 bindings')
+source=(https://www.freedesktop.org/software/$pkgname/$pkgname-$pkgver.tar.xz{,.sig})
+validpgpkeys=(0A75E35E0FAEE97EC769103E2F2670AC164DB36F) # Benjamin Tissoires 
<benjamin.tissoi...@gmail.com>
+sha1sums=('16c6e1484253e1610a019dcca22b1698002824ca'
+          'SKIP')
+ 
+build() {
+  cp -r $pkgname-$pkgver python2
+
+  cd $pkgname-$pkgver
+  PYTHON=python3 ./configure --prefix=/usr
+  make
+
+  cd ../python2
+  PYTHON=python2 ./configure --prefix=/usr --disable-tests
+}
+
+check() {
+  cd $pkgname-$pkgver
+  # Tests have to be run as 'root'
+  # make check
+}
+ 
+package() {
+  cd $pkgname-$pkgver
+  make DESTDIR="$pkgdir" install
+
+  cd ../python2
+  make -C python DESTDIR="$pkgdir" install
+}

Reply via email to