blob: ac726eed18ff9367e283aba4120f654b562c5785 (
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
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
|
# Maintainer: txtsd <aur.archlinux@ihavea.quest>
# Maintainer: Donald Webster <fryfrog@gmail.com>
pkgname=mylar3
pkgver=0.8.0
pkgrel=2
pkgdesc='Comic book download automation for usenet and torrent users'
arch=(any)
url='https://github.com/mylar3/mylar3'
license=('GPL-3.0-or-later')
depends=(
bash
python
python-apscheduler
python-beautifulsoup4
python-cfscrape
python-cheroot
python-cherrypy
python-configparser
python-feedparser
python-mako
python-natsort
python-packaging
python-pillow
python-portend
python-pycryptodome
python-pystun3
python-pytz
python-rarfile
python-requests
python-simplejson
python-six
python-tenacity
python-tzlocal
python-urllib3
python-user_agent2
unrar
)
optdepends=(
'sabnzbd: usenet downloader'
'nzbget: usenet downloader'
'qbittorrent: torrent downloader'
'deluge: torrent downloader'
'rtorrent: torrent downloader'
'vuze: torrent downloader'
'transmission-cli: torrent downloader (CLI and daemon)'
'transmission-gtk: torrent downloader (GTK+)'
'transmission-qt: torrent downloader (Qt)'
'prowlarr: automatically integrates with and syncs indexers'
)
source=(
"${pkgname}-${pkgver}.tar.gz::${url}/archive/v${pkgver}.tar.gz"
mylar3.service
mylar3.tmpfiles
mylar3.sysusers
)
sha256sums=('14bc2b0578f58f26f3b63958637f889573f7b5eee13ed4eaf75375f2a0faf678'
'bfe7c28f5c773b77e6bc0014bd4473de2f4650d049cfedb177aedef74187c932'
'e39441d41acd5d66b63631872e06f8e5425bf0725044e5c3843626d4a090eba5'
'e26cad50c8c8501fa12e2e2b2443f57aaf309e28f28d6dd4944958f9cb20f3cd')
prepare() {
cd "${pkgname}-${pkgver}"
sed -i 's/urllib2.HTTPError,e/\(urllib2.HTTPError,e\)/' lib/utorrent/client.py
}
package() {
cd "${pkgname}-${pkgver}"
install -dm755 "${pkgdir}/usr/lib/mylar3"
cp -dpr --no-preserve=ownership * "${pkgdir}/usr/lib/mylar3"
python -m compileall "${pkgdir}"
cd "${srcdir}"
install -Dm644 "mylar3.service" "${pkgdir}/usr/lib/systemd/system/mylar3.service"
install -Dm644 "mylar3.sysusers" "${pkgdir}/usr/lib/sysusers.d/mylar3.conf"
install -Dm644 "mylar3.tmpfiles" "${pkgdir}/usr/lib/tmpfiles.d/mylar3.conf"
}
|