1# Maintainer: Gabriel Arakaki Giovanini <mail@gabrielgio.me>
2pkgname=py3-reddit-nextcloud-importer
3_pkgorig=reddit-nextcloud-importer
4pkgver=0.1.1
5pkgrel=0
6pkgdesc="A process to import images and videos from saved post on reddit to a instance of Nextcloud."
7url="https://git.sr.ht/~gabrielgio/reddit-nextcloud-importer"
8arch="noarch"
9license="Apache-2.0"
10option="!check" #requires more setup
11depends="
12 python3
13 py3-requests
14 gallery-dl
15 py3-jsonpickle
16 py3-nextcloud-api-wrapper
17 py3-praw
18"
19makedepends="python3-dev py3-setuptools_scm"
20source="$pkgname-$pkgver.tar.gz::https://artifacts.gabrielgio.me/$_pkgorig/$_pkgorig-$pkgver.tar.gz"
21builddir="$srcdir/$_pkgorig-$pkgver"
22
23build() {
24 python3 setup.py build
25}
26
27package() {
28 python3 setup.py install --prefix=/usr --root="$pkgdir"
29}
30
31sha512sums="
32dd983f438f7750d089f87623d183c130c17cdb0850e875993a905e59306c503e7340bdedb67c0a0ab36f50469a0d711733cdc46182e2ce8269c3db0a5996c841 py3-reddit-nextcloud-importer-0.1.1.tar.gz
33"