diff options
author | Gabriel Arakaki Giovanini <mail@gabrielgio.me> | 2022-10-14 21:04:20 +0200 |
---|---|---|
committer | Gabriel Arakaki Giovanini <mail@gabrielgio.me> | 2022-10-14 21:09:35 +0200 |
commit | 307af8fd5a3e74ebcb64ac5bbe57493b59ead233 (patch) | |
tree | d7f1e97a46713925041a6fa4de4dab5694529c7c /reddit-nextcloud-importer/APKBUILD | |
parent | 6d706f14b057e25b4b116ed1ee8c4db4b89454ab (diff) | |
download | apkbuilds-307af8fd5a3e74ebcb64ac5bbe57493b59ead233.tar.gz apkbuilds-307af8fd5a3e74ebcb64ac5bbe57493b59ead233.tar.bz2 apkbuilds-307af8fd5a3e74ebcb64ac5bbe57493b59ead233.zip |
feat: shamelessly copy pkgkit from sr.ht-apkbuilds
Copy some code from sourcehut's alpine build[0] to build my own
packages.
[0]: https://git.sr.ht/~sircmpwn/sr.ht-apkbuilds
Diffstat (limited to 'reddit-nextcloud-importer/APKBUILD')
-rw-r--r-- | reddit-nextcloud-importer/APKBUILD | 47 |
1 files changed, 0 insertions, 47 deletions
diff --git a/reddit-nextcloud-importer/APKBUILD b/reddit-nextcloud-importer/APKBUILD deleted file mode 100644 index b4ea7fa..0000000 --- a/reddit-nextcloud-importer/APKBUILD +++ /dev/null @@ -1,47 +0,0 @@ -# Maintainer: Gabriel Arakaki Giovanini <mail@gabrielgio.me> -pkgname=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" -depends=" - python3 - py3-requests - gallery-dl - py3-jsonpickle - py3-nextcloud-api-wrapper - py3-praw -" -makedepends="python3-dev py3-setuptools_scm" -builddir="$srcdir/$pkgname-$pkgver" -install="$pkgname.pre-install" -subpackages="$pkgname-openrc" -source="$pkgname-$pkgver.tar.gz::https://artifacts.gabrielgio.me/$pkgname/$pkgname-$pkgver.tar.gz - $pkgname.initd - $pkgname.confd" -provides="py3-reddit-nextcloud-importer=$pkgver-r$pkgrel" -# TODO: requires many many many dependencies -options="!check" - - -build() { - python3 setup.py build -} - -package() { - # install scripts - install -m755 -D "$srcdir"/$pkgname.initd \ - "$pkgdir"/etc/init.d/$pkgname - install -m644 -D "$srcdir"/$pkgname.confd \ - "$pkgdir"/etc/conf.d/$pkgname - - python3 setup.py install --prefix=/usr --root="$pkgdir" -} - -sha512sums=" -dd983f438f7750d089f87623d183c130c17cdb0850e875993a905e59306c503e7340bdedb67c0a0ab36f50469a0d711733cdc46182e2ce8269c3db0a5996c841 reddit-nextcloud-importer-0.1.1.tar.gz -bccdb30b9a9149647ef11bbeb50fcc169f5da7b9d445d1aa981751dfe121c9df834379ce787899bcf070eac68d5f39995e6bfa647c5e004cbc592e481916a938 reddit-nextcloud-importer.initd -64e63e65506478f5b9ad89b84539c8e4310e9f0239278d8776dae26ff60eee5f21621cc665e343a1f92e4705e2f95308d2108cf16012a5c9d8cbc5c20c89eb89 reddit-nextcloud-importer.confd -" |