# maintainer (x86_64): Giuseppe CalĂ  pkgname=wiiuse pkgver=0.14.0 pkgrel=1 pkgdesc="Wiiuse is a library written in C that connects with several Nintendo Wii remotes." arch=('x86_64') url="https://github.com/rpavlik/wiiuse" depends=('bluez') makedepends=('cmake') license="GPL3" install=wiiuse.install postfix=_src.tar.gz #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') build() { cd "$srcdir/$pkgname" [[ ! -e build ]] && mkdir build cd build cmake .. make } package() { cd ${srcdir}/wiiuse install -D -m644 ./build/src/libwiiuse.so "$pkgdir/usr/lib/libwiiuse.so" install -D -m644 ./src/wiiuse.h "$pkgdir/usr/include/wiiuse.h" }