mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2025-03-09 00:17:31 +00:00
adding aur/xf86-input-wiimote
This commit is contained in:
parent
fed6c1ae7b
commit
8a2e2b3da5
2 changed files with 58 additions and 0 deletions
30
aur/xf86-input-xwiimote/PKGBUILD
Normal file
30
aur/xf86-input-xwiimote/PKGBUILD
Normal file
|
@ -0,0 +1,30 @@
|
|||
# Maintainer: David Herrmann <dh.herrmann@googlemail.com>
|
||||
pkgname=xf86-input-xwiimote
|
||||
pkgver=0.2
|
||||
pkgrel=1
|
||||
pkgdesc='X.Org Nintendo Wii Remote input driver'
|
||||
arch=('i686' 'x86_64')
|
||||
url="http://github.com/dvdhrm/xf86-input-xwiimote"
|
||||
license=('BSD')
|
||||
depends=('xwiimote>=0.3' 'udev')
|
||||
makedepends=('xorg-server-devel>=1.10.99.902')
|
||||
conflicts=('xorg-server<1.10.99.902')
|
||||
options=(!libtool)
|
||||
source=(https://github.com/downloads/dvdhrm/$pkgname/$pkgname-$pkgver.tar.bz2)
|
||||
#source=($pkgname-$pkgver.tar.bz2)
|
||||
md5sums=('af97ba6d95f74a588aff721793bf6d3d')
|
||||
|
||||
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
|
||||
}
|
28
aur/xwiimote/PKGBUILD
Normal file
28
aur/xwiimote/PKGBUILD
Normal file
|
@ -0,0 +1,28 @@
|
|||
# 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
|
||||
}
|
Loading…
Reference in a new issue