From 8e3741f0c4809be53dd3eb06ad47bd9ee85d74ef Mon Sep 17 00:00:00 2001 From: Michael Hanson Date: Sat, 4 Dec 2010 02:01:36 +0000 Subject: cwiid-git: upgrade (needs testing) --- abs/extra/community/cwiid-git/PKGBUILD | 14 +++++++++----- 1 file changed, 9 insertions(+), 5 deletions(-) diff --git a/abs/extra/community/cwiid-git/PKGBUILD b/abs/extra/community/cwiid-git/PKGBUILD index 909f224..b87571a 100644 --- a/abs/extra/community/cwiid-git/PKGBUILD +++ b/abs/extra/community/cwiid-git/PKGBUILD @@ -1,14 +1,14 @@ #Contributor:Andrea Tarocchi pkgname=cwiid-git #pkgver=`date +%Y%m%d` -pkgver=20100716 +pkgver=20101204 pkgrel=1 pkgdesc="Cwiid-git is the bleeding edge version of a wiimote's driver and utility tools" -arch=(i686 x86_64) +arch=('i686' 'x86_64') url="http://github.com/abstrakraft/cwiid" license=('GPL') -depends=('bluez>=4' 'gtk2' 'python') +depends=('bluez>=4' 'gtk2' 'python2') makedepends=('git' 'make' 'automake' 'autoconf') replaces=('cwiid' 'cwiid-svn') provides=('cwiid' 'cwiid-git') @@ -21,7 +21,7 @@ _builddir=$srcdir/$_gitname-build build() { - export LDFLAGS= + export LDFLAGS="" cd $srcdir/ msg "Connecting to github.com GIT server...." @@ -40,9 +40,13 @@ build() { aclocal autoreconf - ./configure --prefix=/usr --sysconfdir=/etc --disable-ldconfig + ./configure --prefix=/usr --sysconfdir=/etc --with-python=python`python2 --version 2>&1 | cut -d ' ' -f2` --disable-ldconfig make || return 1 +} + +package() { + cd ${_builddir} make DESTDIR="${pkgdir}" install || return 1 # aclocal -- cgit v0.12