# Maintainer: Frederik Schwan # Contributor: Sébastien Luttringer pkgname=unifi-controller-beta pkgver=5.3.3 _pkgver=4ca096f9 pkgrel=1 pkgdesc='Controller for Ubiquiti UniFi accesspoints' arch=('any') url='http://www.ubnt.com/' license=('custom') depends=('mongodb' 'java-runtime') provides=('unifi') conflicts=('unifi') backup=('opt/unifi/data/system.properties') install=unifi.install source=("https://www.ubnt.com/downloads/unifi/${pkgver}-${_pkgver}/UniFi.unix.zip" 'unifi.service') sha512sums=('920d0ce7f31c59ffe851cb3ac34cc88905e577643267a21e1196ca397c05922c0188389a41cea3d184762145b58841c3cc51cb698373f8bd33c365678c044f31' 'eb6625d99634dee0298a961aaead6e3c504f2bf1c502ff071c52e46e8c0817e169ff2020d2e7bda9bac0f170c5214ec6939b14c16c6c6ce8da75ac6930ca2a47') package() { install -d "$pkgdir/opt" cp -ar UniFi "$pkgdir/opt/unifi" chown -R 113:113 "$pkgdir/opt/unifi" rm "$pkgdir/opt/unifi/readme.txt" install -D -m 644 unifi.service "$pkgdir/usr/lib/systemd/system/unifi.service" }