summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 121c04a8109507b076b5d3f828b88ab6b3dd5c3b (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=r168.8495247
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.r168.8495247.tar.gz")
sha512sums=('897b51c39b1df0def87bef7e896e2afa8543df0b889dd876ae6725c7e01cee67c6f501d2570fe4e34a9b4622910407f12cbbe1bc6e2cb61851bbe59b439df0be')

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