# Maintainer: Fabio Manganiello pkgname=platypush pkgver=0.20.7 pkgrel=1 pkgdesc="Universal multi-platform command executor and automation manager" arch=('any') license=('MIT') url="https://git.platypush.tech/platypush/platypush" depends=('python' 'python-yaml' 'redis' 'python-redis' 'python-requests' 'python-sqlalchemy' 'python-websockets' 'python-websocket-client' 'python-wheel' 'python-flask' 'python-pip' 'python-dateutil' 'python-frozendict' 'python-bcrypt' 'python-zeroconf' 'python-pyjwt' 'python-croniter') optdepends=('python-paho-mqtt: MQTT integrations support' 'python-pybluez: Bluetooth support' 'python-gattlib: Low-energy Bluetooth devices support' 'python-paramiko: SSH support' 'python-pyserial: Arduino/serial device support') options=(!strip) source=("${pkgname}-v${pkgver}.tar.gz::https://git.platypush.tech/${pkgname}/${pkgname}/-/archive/v${pkgver}/${pkgname}-v${pkgver}.tar.gz") sha512sums=('57aee35406a303bc8b4ab6f9d8139af77cece48142618a70964430ea71eb05243e9fb49b49543a63452c8c24a9fabb6ed92e18558bf267ee2fb0be17ab59758d') package() { cd "${srcdir}/${pkgname}-v${pkgver}" python3 setup.py build install --root="${pkgdir}/" --optimize=1 install -m755 -d "${pkgdir}/usr/lib/systemd/user" install -m644 "${srcdir}/${pkgname}-v${pkgver}/examples/systemd/platypush.service" "${pkgdir}/usr/lib/systemd/user" echo echo echo --------------------------------------------- echo You can start the Platypush service through echo systemctl --user start platypush. echo echo Remember to enable/start the Redis service echo before starting Platypush. echo --------------------------------------------- echo echo }