# Maintainer: Fabio Manganiello pkgname=platypush-git pkgver=0.20.5.r0.6f224cbd 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') conflicts=('platypush') provides=('platypush') options=(!strip) source=("platypush.tar.gz::https://git.platypush.tech/platypush/platypush/-/archive/master/platypush-master.tar.gz") sha512sums=('8c1fdc8c8b7b435fc4d5533c5832679dd286f049f794aa594cbf9f221e3d91930f6c0a5e42c6ea87554a18658d4effec12b7f5dc569e2cfcc90f72a079e8198b') package() { cd "${srcdir}/platypush-master" python3 setup.py install --root="${pkgdir}/" --optimize=1 install -m755 -d "${pkgdir}/usr/lib/systemd/user" install -m644 "${srcdir}/platypush-master/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 }