summaryrefslogtreecommitdiff
path: root/community/cwiid
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2013-10-24 00:56:32 -0700
committerroot <root@rshg054.dnsready.net>2013-10-24 00:56:32 -0700
commit94ded0cb27161b972228cfef8ea2e6f60af0f2b2 (patch)
tree3eeb5098d6fe3d9cad00a0e1df056de10d0464e6 /community/cwiid
parent06a76442fa8de4a9975266a4eca7fb2a953f5244 (diff)
Thu Oct 24 00:55:58 PDT 2013
Diffstat (limited to 'community/cwiid')
-rw-r--r--community/cwiid/PKGBUILD38
1 files changed, 18 insertions, 20 deletions
diff --git a/community/cwiid/PKGBUILD b/community/cwiid/PKGBUILD
index 780155b0d..ae777b4f8 100644
--- a/community/cwiid/PKGBUILD
+++ b/community/cwiid/PKGBUILD
@@ -1,4 +1,4 @@
-# $Id: PKGBUILD 92496 2013-06-07 09:28:55Z tomegun $
+# $Id: PKGBUILD 99065 2013-10-23 22:02:55Z speps $
# Maintainer : speps <speps at aur dot archlinux dot org>
# Contributor: Ray Rashif <schiv@archlinux.org>
# Contributor: Wieland Hoffmann <the_mineo@web.de>
@@ -7,41 +7,39 @@
# 2012/06/05 : <added into community as supercollider dependency>
pkgname=cwiid
-pkgver=0.6.00
-pkgrel=13
+pkgver=0.6.00+svn201
+pkgrel=1
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')
+source=("https://github.com/abstrakraft/cwiid/archive/svn_history.tar.gz")
+md5sums=('e1bc290504dc53f02581866eed0b85c3')
+
+prepare() {
+ cd $pkgname-svn_history
+ sed -i '/ldconfig/s/WITH/ENABLE/' configure.ac
+ aclocal
+ autoconf -f
+}
build() {
- cd "$srcdir/$pkgname-$pkgver"
-
- # bluez v4 compatibility
- patch -Np1 -i "$srcdir/bluez_4_api_changes.patch"
-
+ cd $pkgname-svn_history
./configure --prefix=/usr \
--sysconfdir=/etc \
- --disable-ldconfig \
- --with-python=python2
+ --with-python=python2 \
+ --enable-ldconfig=no
- LDFLAGS+="$(pkg-config --libs bluez) -lrt -pthread" make
+ LDFLAGS+="$(pkg-config --libs bluez) -lpthread" \
+ make
}
package() {
- cd "$srcdir/$pkgname-$pkgver"
+ cd $pkgname-svn_history
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"