[arch-commits] Commit in evemu/repos (2 files)

2019-11-04 Thread Felix Yan via arch-commits
Date: Monday, November 4, 2019 @ 11:45:32
  Author: felixonmars
Revision: 524043

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: evemu/repos/community-staging-x86_64/PKGBUILD (from rev 524042, 
evemu/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2019-11-04 11:45:32 UTC (rev 524043)
@@ -0,0 +1,35 @@
+# Maintainer: Anatol Pomozov
+# Contributor: Nicolas Quiénot < niQo at aur >
+# Contributor: Damián Nohales 
+ 
+pkgname=evemu
+pkgver=2.7.0
+pkgrel=5
+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 xmlto)
+optdepends=('python: Python 3 bindings')
+source=(https://www.freedesktop.org/software/$pkgname/$pkgname-$pkgver.tar.xz{,.sig})
+validpgpkeys=(0A75E35E0FAEE97EC769103E2F2670AC164DB36F) # Benjamin Tissoires 

+sha1sums=('16c6e1484253e1610a019dcca22b1698002824ca'
+  'SKIP')
+ 
+build() {
+  cd $pkgname-$pkgver
+  PYTHON=python3 ./configure --prefix=/usr
+  make
+}
+
+check() {
+  cd $pkgname-$pkgver
+  # Tests have to be run as 'root'
+  # make check
+}
+ 
+package() {
+  cd $pkgname-$pkgver
+  make DESTDIR="$pkgdir" install
+}


[arch-commits] Commit in evemu/repos (2 files)

2018-07-08 Thread Evangelos Foutras via arch-commits
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 
+ 
+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 

+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
+}