# Maintainer: dec05eba pkgname=automedia-git pkgver=r153.88a9fd2 pkgrel=1 pkgdesc='Automatically track new releases of media and download them. Supports torrents using rss (nyaa.si) and manga sites using html.' arch=('x86_64') url="https://git.dec05eba.com/AutoMedia" license=('GPL3') depends=('python' 'python-lxml' 'python-requests' 'python-pure-protobuf' 'curl' 'transmission-cli') optdepends=('libnotify') provides=('automedia') conflicts=('automedia') source=("${pkgname}-${pkgver}.tar.gz::https://dec05eba.com/snapshot/AutoMedia.git.r153.88a9fd2.tar.gz") sha512sums=('3b8bf58487a0150c3338994db0b5951e1ec71afd6f38e19fbc578e86b29fe072baf3f354ee6e25c71ecd6cb8df1810ec82f1720b8dbb835c491dc35c927244fd') package() { cd "$srcdir" install -Dm755 "automedia" "$pkgdir/usr/bin/automedia" install -Dm755 "mangadex-upgrade.py" "$pkgdir/usr/share/automedia/mangadex-upgrade.py" for file in plugins/*; do install -Dm755 "$file" "$pkgdir/usr/share/automedia/$file" done }