summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 1afd5485f65b71ed40d755c46c8eadb5be54054e (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=r124.0c49bfe
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.tar.gz")
sha512sums=('a47d1e905c0067a7ae5ea45cc15a275880023865f934a941423dfdc3e093c8fca47c78dbe6606a57d9494e4c666a67196bb0190828e2dcd724484bf57bf5f126')

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