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

pkgname=automedia-git
pkgver=r154.44ebc43
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.r154.44ebc43.tar.gz")
sha512sums=('bd827c260679f5a52d3ca3e06b2a532593ff6f6b11c0583e137845217499587317ba6e53ee82bfa1e279aea40adbc71563656534ef356ba46a990e14fd2c092c')

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
}