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

speps speps at nymeria.archlinux.org
Tue Jun 4 01:16:34 UTC 2013


    Date: Tuesday, June 4, 2013 @ 03:16:33
  Author: speps
Revision: 92319

archrelease: copy trunk to community-staging-x86_64

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

---------------+
 PKGBUILD      |   50 ++++++++++++++++++++++++++++++++++++++++++++++++++
 cwiid.install |   10 ++++++++++
 2 files changed, 60 insertions(+)

Copied: cwiid/repos/community-staging-x86_64/PKGBUILD (from rev 92318, cwiid/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD	                        (rev 0)
+++ community-staging-x86_64/PKGBUILD	2013-06-04 01:16:33 UTC (rev 92319)
@@ -0,0 +1,50 @@
+# $Id$
+# Maintainer : 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
+pkgrel=13
+pkgdesc="Linux Nintendo Wiimote interface"
+arch=('i686' 'x86_64')
+url="http://abstrakraft.org/cwiid"
+depends=('bluez-libs' 'gtk2' 'python2')
+makedepends=('python2')
+license=('GPL')
+install="$pkgname.install"
+source=("$url/downloads/$pkgname-$pkgver.tgz"
+        "$url/raw-attachment/ticket/70/bluez_4_api_changes.patch")
+md5sums=('8d574afdeedc5e5309c87a72d744316a'
+         '19b288723d1f2b97a3e5288ab9de3313')
+
+build() {
+  cd "$srcdir/$pkgname-$pkgver"
+
+  # bluez v4 compatibility
+  patch -Np1 -i "$srcdir/bluez_4_api_changes.patch"
+
+  ./configure --prefix=/usr \
+              --sysconfdir=/etc \
+              --disable-ldconfig \
+              --with-python=python2
+
+  LDFLAGS+="$(pkg-config --libs bluez) -lrt -pthread" make
+}
+
+package() {
+  cd "$srcdir/$pkgname-$pkgver"
+  make DESTDIR="$pkgdir" install
+
+  # fix static lib permissions
+  chmod 644 "$pkgdir/usr/lib/libcwiid.a"
+
+  # wminput README
+  install -Dm644 wminput/README \
+    "$pkgdir/usr/share/doc/$pkgname/wminput/README"
+}
+
+# vim:set ts=2 sw=2 et:

Copied: cwiid/repos/community-staging-x86_64/cwiid.install (from rev 92318, cwiid/trunk/cwiid.install)
===================================================================
--- community-staging-x86_64/cwiid.install	                        (rev 0)
+++ community-staging-x86_64/cwiid.install	2013-06-04 01:16:33 UTC (rev 92319)
@@ -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