diff options
author | Gabriel Arakaki Giovanini <mail@gabrielgio.me> | 2022-10-01 13:51:40 +0000 |
---|---|---|
committer | Gabriel Arakaki Giovanini <mail@gabrielgio.me> | 2022-10-01 13:51:40 +0000 |
commit | 4f75464394774d20fd5ae47ee8610b9427239155 (patch) | |
tree | 919634d35518c86cf2b8bd531ee510a2dce584c9 /reddit-nextcloud-importer | |
parent | 567750860709b07eb7a1b3d37c902ba3eae45469 (diff) | |
download | apkbuilds-4f75464394774d20fd5ae47ee8610b9427239155.tar.gz apkbuilds-4f75464394774d20fd5ae47ee8610b9427239155.tar.bz2 apkbuilds-4f75464394774d20fd5ae47ee8610b9427239155.zip |
feat: Add reddit-nextcloud-importer
Diffstat (limited to 'reddit-nextcloud-importer')
-rw-r--r-- | reddit-nextcloud-importer/APKBUILD | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/reddit-nextcloud-importer/APKBUILD b/reddit-nextcloud-importer/APKBUILD new file mode 100644 index 0000000..47a0558 --- /dev/null +++ b/reddit-nextcloud-importer/APKBUILD @@ -0,0 +1,33 @@ +# Maintainer: Gabriel Arakaki Giovanini <mail@gabrielgio.me> +pkgname=py3-reddit-nextcloud-importer +_pkgorig=reddit-nextcloud-importer +pkgver=0.1.1 +pkgrel=0 +pkgdesc="A process to import images and videos from saved post on reddit to a instance of Nextcloud." +url="https://git.sr.ht/~gabrielgio/reddit-nextcloud-importer" +arch="noarch" +license="Apache-2.0" +option="!check" #requires more setup +depends=" + python3 + py3-requests + gallery-dl + py3-jsonpickle + py3-nextcloud-api-wrapper + py3-praw +" +makedepends="python3-dev py3-setuptools_scm" +source="$pkgname-$pkgver.tar.gz::https://artifacts.gabrielgio.me/$_pkgorig/$_pkgorig-$pkgver.tar.gz" +builddir="$srcdir/$_pkgorig-$pkgver" + +build() { + python3 setup.py build +} + +package() { + python3 setup.py install --prefix=/usr --root="$pkgdir" +} + +sha512sums=" +dd983f438f7750d089f87623d183c130c17cdb0850e875993a905e59306c503e7340bdedb67c0a0ab36f50469a0d711733cdc46182e2ce8269c3db0a5996c841 py3-reddit-nextcloud-importer-0.1.1.tar.gz +" |