mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-12-08 23:03:46 +00:00
28 lines
844 B
Bash
28 lines
844 B
Bash
# Maintainer: David Herrmann <dh.herrmann@googlemail.com>
|
|
pkgname=xwiimote
|
|
pkgver=0.3
|
|
pkgrel=1
|
|
pkgdesc='Userspace utilities to control connected Nintendo Wii Remotes'
|
|
arch=('i686' 'x86_64')
|
|
url="http://github.com/dvdhrm/xwiimote"
|
|
license=('BSD')
|
|
depends=('udev' 'ncurses')
|
|
options=(!libtool)
|
|
source=(https://github.com/downloads/dvdhrm/xwiimote/$pkgname-$pkgver.tar.bz2)
|
|
#source=($pkgname-$pkgver.tar.bz2)
|
|
md5sums=('b4e82260ed4e2acb81a4c802e01d3d61')
|
|
|
|
build() {
|
|
cd "$srcdir/$pkgname-$pkgver"
|
|
./configure --prefix=/usr
|
|
make
|
|
}
|
|
|
|
package() {
|
|
cd "$srcdir/$pkgname-$pkgver"
|
|
mkdir -p "$pkgdir/usr/share/licenses/$pkgname/"
|
|
cp LICENSE "$pkgdir/usr/share/licenses/$pkgname/"
|
|
mkdir -p "$pkgdir/etc/X11/xorg.conf.d/"
|
|
cp "res/50-xorg-fix-xwiimote.conf" "$pkgdir/etc/X11/xorg.conf.d/50-fix-xwiimote.conf"
|
|
make DESTDIR="$pkgdir/" install
|
|
}
|