# Maintainer: Tristan Hill pkgname=changedetection.io pkgver=0.43.2 pkgrel=1 pkgdesc='change monitoring of web pages' arch=('any') url='https://github.com/dgtlmoon/changedetection.io' license=('Apache 2.0') makedepends=('python-setuptools') depends=(# ordered per https://github.com/dgtlmoon/changedetection.io/blob/master/requirements.txt 'python-flask-compress' 'python-eventlet' 'python-validators' 'python-timeago' 'python-inscriptis' 'python-feedgen' 'python-flask-compress' 'python-flask-login' 'python-flask-paginate' 'python-flask-expects-json' 'python-flask-restful' 'python-flask-wtf' 'python-flask' 'python-pytz' 'python-requests' 'python-urllib3' 'python-chardet' 'python-wtforms' 'python-jsonpath-ng' 'python-jq' 'apprise' 'python-paho-mqtt' 'python-cryptography' 'python-bs4' 'python-selenium' 'python-werkzeug' 'python-jinja-time' 'python-pillow' 'python-pysocks') source=("https://github.com/dgtlmoon/changedetection.io/archive/refs/tags/$pkgver.tar.gz" 'sysusers' 'tmpfiles' 'service') sha512sums=('61da691ac191b471c2e528096bd6df3808a065f3bf6eae7f44f8740c5e4291ef65e2a9c5f99b34014d2b53d838001344bc99ee4476ac48dd8e33a48b6be83b6d' '5ef8b215bddc02b04d55d3699f27ad043461d8771591be2ebf0ed6390c58ab881426214173c8e1cc8bb36ecd7acebc5d69d760fc65b8a3b191b2116150748f53' '62a684e35c3b479b8ab139b2d79f83f408bede0d4e0f1e500ee75f13126456fa5b574d8cb826c8c56ff0da488dec4ed3562854d0f05d44814beaa3b726bcd318' '5dba78fafd77fe41b69d73849529ed4f086879cd3a6e4ada126a320d249bb730bcf6a0b49e5b987699a2420e7083c7c6d1a0b921c49c932ec33f30bda083b506') package() { cd "$srcdir/$pkgname-$pkgver" python setup.py install --root="$pkgdir" --optimize=1 install -Dm644 "${srcdir}/sysusers" "${pkgdir}/usr/lib/sysusers.d/changedetection.io.conf" install -Dm644 "${srcdir}/tmpfiles" "${pkgdir}/usr/lib/tmpfiles.d/changedetection.io.conf" install -Dm644 "${srcdir}/service" "${pkgdir}/usr/lib/systemd/system/changedetection.io.service" }