summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: f2fd093b77eac2d16be277a6e787b1c9c9584015 (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: Sonic-Y3k <sonic.y3k@googlemail.com>
pkgname=plexwatch
pkgver=0.3.3
pkgrel=1
pkgdesc="Notify and Log 'Now Playing' and 'Watched' content from a Plex Media Server + 'Recently Added' (...and more)"
arch=('any')
url="https://github.com/ljunkie/plexWatch"
license=('unknown')
depends=('plex-media-server' 'perl-libwww' 'perl-xml-simple' 'perl-dbi' 'perl-time-duration' 'perl-time-modules' 'perl-json' 'perl-dbd-sqlite' 'perl-io-socket-ssl')
optdepends=('perl-net-twitter: Required ONLY if you use twitter'
            'perl-net-oauth: Required ONLY if you use twitter'
            'perl-growl-gntp: Required ONLY if you use GNTP'
            'perl-net-smtp-ssl: Required ONLY if you use Email'
            'perl-file-readbackwards: Required ONLY if Client IP Logging is enabled')
source=("plexWatch.tar.gz::${url}/archive/v${pkgver}.tar.gz")
sha256sums=('15cb0eb9f7376ae2f409e9dbb6fa5c5bb5d3549c69fe1e36e48ac016a81c38d4')

package() {
  cd "${srcdir}/plexWatch-${pkgver}"
  install -Dm 777 plexWatch.pl "${pkgdir}/opt/plexWatch/plexWatch.pl"
  install -Dm 755 config.pl-dist "${pkgdir}/opt/plexWatch/config.pl"
}