[arch-commits] Commit in cwiid/repos (3 files)

David Runge dvzrv at archlinux.org
Sat Dec 2 20:56:10 UTC 2017


    Date: Saturday, December 2, 2017 @ 20:56:09
  Author: dvzrv
Revision: 271928

archrelease: copy trunk to community-testing-x86_64

Added:
  cwiid/repos/community-testing-x86_64/
  cwiid/repos/community-testing-x86_64/PKGBUILD
    (from rev 271927, cwiid/trunk/PKGBUILD)
  cwiid/repos/community-testing-x86_64/cwiid.install
    (from rev 271927, cwiid/trunk/cwiid.install)

---------------+
 PKGBUILD      |   49 +++++++++++++++++++++++++++++++++++++++++++++++++
 cwiid.install |   10 ++++++++++
 2 files changed, 59 insertions(+)

Copied: cwiid/repos/community-testing-x86_64/PKGBUILD (from rev 271927, cwiid/trunk/PKGBUILD)
===================================================================
--- community-testing-x86_64/PKGBUILD	                        (rev 0)
+++ community-testing-x86_64/PKGBUILD	2017-12-02 20:56:09 UTC (rev 271928)
@@ -0,0 +1,49 @@
+# $Id$
+# Maintainer : David Runge <dave at sleepmap.de>
+# Contributor: speps <speps at aur dot archlinux dot org>
+# Contributor: Ray Rashif <schiv at archlinux.org>
+# Contributor: Wieland Hoffmann <the_mineo at web.de>
+# Contributor: Birger Moellering <bmoellering at googlemail.com>
+# 2012/03/21 : <dropped from community; broken + see bug #28344>
+# 2012/06/05 : <added into community as supercollider dependency>
+
+pkgname=cwiid
+pkgver=0.6.00+svn201
+pkgrel=2
+pkgdesc="Linux Nintendo Wiimote interface"
+arch=('x86_64')
+url="http://abstrakraft.org/cwiid"
+depends=('bluez-libs' 'gtk2' 'python2')
+license=('GPL')
+install="$pkgname.install"
+source=("https://github.com/abstrakraft/cwiid/archive/svn_history.tar.gz")
+sha512sums=('25c105c37ae0778b6e47c4a02bfc74380f3b3dcc4cb71a3968a243a7de33c55d8b6d7860d826d1d5a6a197223fdb6022effd27d40394ca7007d997694438739b')
+
+prepare() {
+  cd "${pkgname}-svn_history"
+  # fixing ldconfig use in configure
+  sed -i '/ldconfig/s/WITH/ENABLE/' configure.ac
+  autoreconf -fi
+}
+
+build() {
+  cd "${pkgname}-svn_history"
+  ./configure --prefix=/usr \
+              --sysconfdir=/etc \
+              --with-python=python2 \
+              --enable-ldconfig=no
+
+  LDFLAGS+=" -pthread -lpthread -lbluetooth" \
+  make
+}
+
+package() {
+  cd "${pkgname}-svn_history"
+  make DESTDIR="${pkgdir}" install
+
+  # wminput README
+  install -Dm644 wminput/README \
+    "${pkgdir}/usr/share/doc/${pkgname}/wminput/README"
+}
+
+# vim:set ts=2 sw=2 et:

Copied: cwiid/repos/community-testing-x86_64/cwiid.install (from rev 271927, cwiid/trunk/cwiid.install)
===================================================================
--- community-testing-x86_64/cwiid.install	                        (rev 0)
+++ community-testing-x86_64/cwiid.install	2017-12-02 20:56:09 UTC (rev 271928)
@@ -0,0 +1,10 @@
+post_install() {
+  echo "==> In order to use wminput ensure you load the uinput kernel"
+  echo "==> module and have assigned correct access to /dev/uinput"
+}
+
+post_upgrade() {
+  post_install
+}
+
+# vim:set ts=2 sw=2 et:



More information about the arch-commits mailing list