# Maintainer: Fabio Manganiello pkgname=platypush pkgver=0.24.5 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-rsa' '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') options=(!strip) source=("v${pkgver}.tar.gz::https://git.platypush.tech/${pkgname}/${pkgname}/archive/v${pkgver}.tar.gz") sha512sums=('1e579440007c56c26cbc32994fef899370e171b4508f39fda86b7dcb3ef3b0d3bea9257c7478fddd2754f8ea8a5583da24f883fa39800f774b2a097b09ee571f') package() { cd "${srcdir}/${pkgname}" python3 setup.py build install --root="${pkgdir}/" --optimize=1 install -m755 -d "${pkgdir}/usr/lib/systemd/user" install -m644 "${srcdir}/${pkgname}/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 }