# Maintainer: Mattias Andrée <`base64 -d`(bWFhbmRyZWUK)@member.fsf.org> pkgname=spot-on pkgver=0.22 pkgrel=1 pkgdesc='An exploratory research project investigating a variety of communications protocols' url='http://spot-on.sourceforge.net/' arch=('i686' 'x86_64') license=('custom:3-clause BSD') depends=('qt5-base' 'geoip>=1.5.1' 'libgcrypt>=1.5' 'openssl>=0.9.8' 'lksctp-tools' 'qt5-multimedia' "libspoton=${pkgver}" 'libntru') makedepends=('qt5-base' 'geoip>=1.5.1' 'libgcrypt>=1.5' 'openssl>=0.9.8' 'lksctp-tools' 'qt5-multimedia' 'qt5-tools' 'make' 'gcc') source=("https://github.com/textbrowser/spot-on/archive/v${pkgver}.tar.gz") sha256sums=('b6c2015274e9fca2f887f1f9638f8d6c50514987b9081c5e86044246da32ce80') build() { cd "$srcdir/spot-on-${pkgver}/branches/trunk" qmake-qt5 -o Makefile spot-on.qt5.pro make } package () { cd "$srcdir/spot-on-${pkgver}/branches/trunk" install -dm755 -- "$pkgdir/usr/lib/spot-on" install -m755 -- Spot-On "$pkgdir/usr/lib/spot-on/Spot-On" install -m755 -- Spot-On-Kernel "$pkgdir/usr/lib/spot-on/Spot-On-Kernel" install -dm755 -- "$pkgdir/usr/bin" ln -s ../lib/spot-on/Spot-On -- "$pkgdir/usr/bin/spot-on" }