diff options
author | Gabriel Arakaki Giovanini <mail@gabrielgio.me> | 2023-12-25 22:07:01 +0100 |
---|---|---|
committer | Gabriel Arakaki Giovanini <mail@gabrielgio.me> | 2023-12-25 22:07:01 +0100 |
commit | 09f27804ee013b2816330bc567cc0f60c6b43e0d (patch) | |
tree | 682dc68db3aeeabca8795925a8e44669b4e9f3ae /apks/reddit-importer/APKBUILD | |
parent | bbfc9e2f8f3dfd7ec856ea28ec08d71484482e5f (diff) | |
download | apkbuilds-09f27804ee013b2816330bc567cc0f60c6b43e0d.tar.gz apkbuilds-09f27804ee013b2816330bc567cc0f60c6b43e0d.tar.bz2 apkbuilds-09f27804ee013b2816330bc567cc0f60c6b43e0d.zip |
feat: Add reddit-importer
Diffstat (limited to 'apks/reddit-importer/APKBUILD')
-rw-r--r-- | apks/reddit-importer/APKBUILD | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/apks/reddit-importer/APKBUILD b/apks/reddit-importer/APKBUILD new file mode 100644 index 0000000..c75c4bd --- /dev/null +++ b/apks/reddit-importer/APKBUILD @@ -0,0 +1,39 @@ +# Maintainer: Gabriel Arakaki Giovanini <mail@gabrielgio.me> +pkgname=reddit-importer +pkgver=0_git20231225 +pkgrel=0 +_commit=e5ce82abf59dc28bcc84a336053a95a58cf27c16 +pkgdesc="A process to import images and videos from liked post on reddit local folder." +url="https://git.sr.ht/~gabrielgio/reddit-importer" +arch="x86_64" +license="MIT" +options="!check" # this can't be tested +depends=" + gallery-dl +" +makedepends="go make" +builddir="$srcdir/$pkgname-$_commit" +install="$pkgname.pre-install" +subpackages="$pkgname-openrc" +source="$pkgname-$_commit.tar.gz::https://git.sr.ht/~gabrielgio/$pkgname/archive/$_commit.tar.gz + $pkgname.initd + $pkgname.confd" + + +build() { + make +} + +package() { + install -m755 -D "$srcdir"/$pkgname.initd \ + "$pkgdir"/etc/init.d/$pkgname + install -m644 -D "$srcdir"/$pkgname.confd \ + "$pkgdir"/etc/conf.d/$pkgname + install -Dm755 bin/reddit-importer "$pkgdir"/usr/bin/reddit-importer +} + +sha512sums=" +06cbe8dc28737b4f3fa265f4af1d0dd82e2e0ad8e15e7b0efec3de6e56a7677cf9d61d82100b777a8238331bb31d98b61a427e0c9899ce391e191fcc8d765d85 reddit-importer-e5ce82abf59dc28bcc84a336053a95a58cf27c16.tar.gz +8d992bbcf8d0b9f54ce7659c9c6d27dc886b488432daad0c0857e31b006cc54b11096e056d996bb4d831babf72306e274a24a4ab77a904fa7dcf0430875e597f reddit-importer.initd +d277a7144b89a1f100c7f2fe2a645b16ddfdcfd23ee594d24d171fc2965c342f8fce5aabff2f9ca40905d4ad7272daa586c7c8bbdf98711e627f511b07306695 reddit-importer.confd +" |