2010-11-15 18:14:29 +08:00
|
|
|
# maintainer (x86_64): Giuseppe Calà <jiveaxe@gmail.com>
|
|
|
|
|
|
|
|
pkgname=wiiuse
|
2014-04-12 22:41:12 +08:00
|
|
|
pkgver=0.14.0
|
|
|
|
pkgrel=1
|
2010-11-15 18:14:29 +08:00
|
|
|
pkgdesc="Wiiuse is a library written in C that connects with several Nintendo Wii remotes."
|
2014-04-12 22:41:12 +08:00
|
|
|
arch=('x86_64')
|
|
|
|
url="https://github.com/rpavlik/wiiuse"
|
2010-11-15 18:14:29 +08:00
|
|
|
depends=('bluez')
|
2014-04-12 22:41:12 +08:00
|
|
|
makedepends=('cmake')
|
2010-11-15 18:14:29 +08:00
|
|
|
license="GPL3"
|
|
|
|
install=wiiuse.install
|
|
|
|
postfix=_src.tar.gz
|
2014-04-12 22:41:12 +08:00
|
|
|
#source=("http://downloads.sourceforge.net/sourceforge/wiiuse/wiiuse_v${pkgver}_src.tar.gz"
|
|
|
|
source=("git+https://github.com/rpavlik/wiiuse.git#tag=$pkgver")
|
|
|
|
md5sums=('SKIP')
|
2010-11-15 18:14:29 +08:00
|
|
|
|
|
|
|
build() {
|
2014-04-12 22:41:12 +08:00
|
|
|
cd "$srcdir/$pkgname"
|
|
|
|
|
|
|
|
[[ ! -e build ]] && mkdir build
|
|
|
|
cd build
|
|
|
|
cmake ..
|
|
|
|
make
|
|
|
|
}
|
2010-11-15 18:14:29 +08:00
|
|
|
|
2014-04-12 22:41:12 +08:00
|
|
|
package() {
|
|
|
|
cd ${srcdir}/wiiuse
|
2010-11-15 18:14:29 +08:00
|
|
|
|
2014-04-12 22:41:12 +08:00
|
|
|
install -D -m644 ./build/src/libwiiuse.so "$pkgdir/usr/lib/libwiiuse.so"
|
|
|
|
install -D -m644 ./src/wiiuse.h "$pkgdir/usr/include/wiiuse.h"
|
2010-11-15 18:14:29 +08:00
|
|
|
}
|