summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--abs/extra/community/cwiid-git/PKGBUILD14
1 files 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 <valdar@email.it>
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