summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: cd32e8c2e0b36cc784f8921099c0e3db674ae401 (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
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50

# Maintainer: Donald Webster <fryfrog@gmail.com>

pkgname=mylar3
pkgver=0.7.8
pkgrel=1
pkgdesc="Comic book download automation for usenet and torrents."
arch=('any')
url="https://github.com/mylar3/mylar3"
license=('GPL3')
depends=(
  'python'
  'python-apscheduler'
  'python-beautifulsoup4'
  'python-cfscrape'
  'python-cheroot'
  'python-cherrypy'
  'python-configparser'
  'python-feedparser'
  'python-mako'
  'python-natsort'
  'python-pillow'
  'python-portend'
  'python-pytz'
  'python-rarfile'
  'python-requests'
  'python-simplejson'
  'python-six'
  'python-tzlocal'
  'python-urllib3'
)
options=(!strip)
source=("mylar3-${pkgver}.tar.gz::https://github.com/mylar3/mylar3/archive/v${pkgver}.tar.gz"
        'mylar3.service'
        'mylar3.tmpfiles'
        'mylar3.sysusers')

sha256sums=('31212c96688fc557dab4179931114b36c4ed6e376d194bdd4276aa1f6ef9fd19'
            'bfe7c28f5c773b77e6bc0014bd4473de2f4650d049cfedb177aedef74187c932'
            'e39441d41acd5d66b63631872e06f8e5425bf0725044e5c3843626d4a090eba5'
            'e26cad50c8c8501fa12e2e2b2443f57aaf309e28f28d6dd4944958f9cb20f3cd')

package() {
  install -d -m 755 "${pkgdir}/usr/lib/mylar3"
  cp -dpr --no-preserve=ownership "${srcdir}/mylar3-${pkgver}"/* "${pkgdir}/usr/lib/mylar3"

  install -D -m 644 "${srcdir}/mylar3.service" "${pkgdir}/usr/lib/systemd/system/mylar3.service"
  install -D -m 644 "${srcdir}/mylar3.sysusers" "${pkgdir}/usr/lib/sysusers.d/mylar3.conf"
  install -D -m 644 "${srcdir}/mylar3.tmpfiles" "${pkgdir}/usr/lib/tmpfiles.d/mylar3.conf"
}