Commit 3ea143e9 authored by Seblu's avatar Seblu
Browse files

Bump unifi

parent 9e7c2535
Loading
Loading
Loading
Loading
+5 −4
Original line number Diff line number Diff line
@@ -2,19 +2,20 @@
# Contributor: Sébastien Luttringer

pkgname=unifi
pkgver=2.4.6
pkgver=3.2.1
pkgrel=1
pkgdesc='Controller for Ubiquiti UniFi accesspoints'
arch=('any')
url='http://www.ubnt.com/'
license=('custom')
depends=('mongodb' 'java-runtime-headless')
depends=('mongodb' 'jre7-openjdk-headless')
conflicts=('tomcat-native')
# needed to not break configuration accross upgrades
backup=('opt/unifi/data/system.properties')
install=unifi.install
source=("UniFi-$pkgver.zip::http://dl.ubnt.com/unifi/$pkgver/UniFi.unix.zip"
        'unifi.service')
md5sums=('eb0bafb975b0da45f8fe191ec5ed0595'
md5sums=('9b2d59e6be25db2210f4d85512315e6f'
         '04934ee4be43b6f80db610d140edf49f')

package() {
@@ -22,7 +23,7 @@ package() {
  cp -ar UniFi "$pkgdir/opt/unifi"
  chown -R 113:113 "$pkgdir/opt/unifi"
  rm "$pkgdir/opt/unifi/readme.txt"
  install -D unifi.service "$pkgdir/usr/lib/systemd/system/unifi.service"
  install -Dm644 unifi.service "$pkgdir/usr/lib/systemd/system/unifi.service"
}

# vim:set ts=2 sw=2 ft=sh et: