# Maintainer: Fabio Manganiello pkgname=platypush-git pkgver=0.23.5.r0.c2a3f2f4 pkgrel=1 pkgdesc="Universal multi-platform command executor and automation manager" arch=('any') license=('MIT') url="https://git.platypush.tech/platypush/platypush" makedepends=('git') 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' 'python-marshmallow' 'python-pytz' 'python-magic') optdepends=('python-paho-mqtt: MQTT integrations support' 'python-pybluez: Bluetooth support' 'python-gattlib: Low-energy Bluetooth devices support' 'python-paramiko: SSH support' 'python-watchdog: File monitor support' 'python-aiohttp: SmartThings support' 'python-pyserial: Arduino/serial device support') conflicts=('platypush') provides=('platypush') options=(!strip) source=("master.tar.gz::https://git.platypush.tech/platypush/platypush/archive/master.tar.gz") sha512sums=('97b83c1e3144788bed41a194f41933306d287ee3a12fe3309f38cc9be2295f4ae8051eae94ac60ed82bd7a10042c15e7fae05c9ad0ec2586cf7a18d1abe3bc9e') package() { cd "${srcdir}/platypush" python3 setup.py install --root="${pkgdir}/" --optimize=1 install -m755 -d "${pkgdir}/usr/lib/systemd/user" install -m644 "${srcdir}/platypush/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 }