2013-02-21 20:55:52 +00:00
|
|
|
# Maintainer: David Herrmann <dh.herrmann@googlemail.com>
|
|
|
|
pkgname=xf86-input-xwiimote
|
2013-08-13 01:17:55 +00:00
|
|
|
pkgver=0.4
|
2013-02-21 20:55:52 +00:00
|
|
|
pkgrel=1
|
|
|
|
pkgdesc='X.Org Nintendo Wii Remote input driver'
|
|
|
|
arch=('i686' 'x86_64')
|
2013-08-13 01:17:55 +00:00
|
|
|
url="http://github.com/dvdhrm/$pkgname"
|
|
|
|
license=('MIT')
|
|
|
|
depends=('xwiimote>=2' 'udev')
|
2013-02-21 20:55:52 +00:00
|
|
|
makedepends=('xorg-server-devel>=1.10.99.902')
|
|
|
|
conflicts=('xorg-server<1.10.99.902')
|
|
|
|
options=(!libtool)
|
2013-08-13 01:17:55 +00:00
|
|
|
source=(https://github.com/dvdhrm/$pkgname/releases/download/$pkgname-$pkgver/$pkgname-$pkgver.tar.xz)
|
|
|
|
#source=($pkgname-$pkgver.tar.xz)
|
|
|
|
md5sums=('7b9810cef1744d315e6ca7c69c44d8e8')
|
2013-02-21 20:55:52 +00:00
|
|
|
|
|
|
|
build() {
|
|
|
|
cd "$srcdir/$pkgname-$pkgver"
|
|
|
|
./configure --prefix=/usr
|
|
|
|
make
|
|
|
|
}
|
|
|
|
|
|
|
|
package() {
|
|
|
|
cd "$srcdir/$pkgname-$pkgver"
|
|
|
|
mkdir -p "$pkgdir/usr/share/licenses/$pkgname/"
|
|
|
|
cp COPYING "$pkgdir/usr/share/licenses/$pkgname/"
|
|
|
|
mkdir -p "$pkgdir/etc/X11/xorg.conf.d/"
|
|
|
|
cp "60-xorg-xwiimote.conf" "$pkgdir/etc/X11/xorg.conf.d/60-xwiimote.conf"
|
|
|
|
make DESTDIR="$pkgdir/" install
|
|
|
|
}
|