summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 5496a17226a9c1203582b7e5cc474e148210f00f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
# Maintainer: dec05eba <dec05eba@protonmail.com>

pkgname=automedia-git
pkgver=r108.836eda9
pkgrel=5
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-protobuf' 'curl' 'transmission-cli')
optdepends=('libnotify')
provides=('automedia')
conflicts=('automedia')
source=("${pkgname}-${pkgver}.tar.gz::https://dec05eba.com/snapshot/AutoMedia.tar.gz")
sha512sums=('d41a44cddbc958c41e8494c2ebd23622c0310d8ecae0fcf425386999dc70eefdb28711ff7176e6804ca3d182b88ea960b2af0fae7e9513d6ab47523bfc633adb')

package() {
  cd "$srcdir"
  install -Dm755 "automedia" "$pkgdir/usr/bin/automedia"
  for file in plugins/*; do
    install -Dm755 "$file" "$pkgdir/usr/share/automedia/$file"
  done
}