[arch-commits] Commit in evemu/repos/community-x86_64 (PKGBUILD PKGBUILD)

Balló György bgyorgy at archlinux.org
Wed Jan 24 14:46:45 UTC 2018


    Date: Wednesday, January 24, 2018 @ 14:46:44
  Author: bgyorgy
Revision: 286494

archrelease: copy trunk to community-x86_64

Added:
  evemu/repos/community-x86_64/PKGBUILD
    (from rev 286493, evemu/trunk/PKGBUILD)
Deleted:
  evemu/repos/community-x86_64/PKGBUILD

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

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2018-01-24 14:46:38 UTC (rev 286493)
+++ PKGBUILD	2018-01-24 14:46:44 UTC (rev 286494)
@@ -1,34 +0,0 @@
-# $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=1
-pkgdesc='Tools and bindings for kernel input event device emulation and data capture and replay'
-arch=(i686 x86_64)
-url='http://www.freedesktop.org/wiki/Evemu'
-license=(GPL3)
-depends=(libevdev python2)
-source=(https://www.freedesktop.org/software/$pkgname/$pkgname-$pkgver.tar.xz{,.sig})
-validpgpkeys=(0A75E35E0FAEE97EC769103E2F2670AC164DB36F) # Benjamin Tissoires <benjamin.tissoires at gmail.com>
-sha1sums=('16c6e1484253e1610a019dcca22b1698002824ca'
-          'SKIP')
- 
-build() {
-  cd $pkgname-$pkgver
-  PYTHON=/usr/bin/python2 ./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
-}

Copied: evemu/repos/community-x86_64/PKGBUILD (from rev 286493, evemu/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2018-01-24 14:46:44 UTC (rev 286494)
@@ -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=2
+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.tissoires at 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
+}



More information about the arch-commits mailing list