aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFrank Oltmanns <alpine@oltmanns.dev>2020-12-25 16:15:25 +0100
committerLeo <thinkabit.ukim@gmail.com>2020-12-26 20:20:10 +0000
commitf9553f416a32558681aaaad618733f987981674b (patch)
tree0e92e67f37a0061702f9048366e37a2f95535b11
parent648453e2d6e6982b9f777a240fa699e1c2b9b640 (diff)
downloadaports-f9553f416a32558681aaaad618733f987981674b.tar.gz
aports-f9553f416a32558681aaaad618733f987981674b.tar.bz2
aports-f9553f416a32558681aaaad618733f987981674b.tar.xz
testing/anki: new aport
https://apps.ankiweb.net/ flashcard program using spaced repetition
-rw-r--r--testing/anki/APKBUILD25
1 files changed, 25 insertions, 0 deletions
diff --git a/testing/anki/APKBUILD b/testing/anki/APKBUILD
new file mode 100644
index 0000000000..39497057cf
--- /dev/null
+++ b/testing/anki/APKBUILD
@@ -0,0 +1,25 @@
+# Contributor: Frank Oltmanns <alpine@oltmanns.dev>
+# Maintainer: Frank Oltmanns <alpine@oltmanns.dev>
+pkgname=anki
+pkgver=2.1.15
+pkgrel=0
+pkgdesc="flashcard program using spaced repetition"
+url="https://apps.ankiweb.net/"
+arch="noarch !ppc64le !s390x" # py3-qtwebengine unavailable for !archs
+license="AGPL-3.0-or-later"
+options="!check" # no test suite provided
+makedepends="bash xdg-utils perl"
+depends="py3-decorator py3-qt5 py3-qtwebengine py3-beautifulsoup4 py3-requests
+ py3-send2trash py3-pyaudio py3-markdown py3-jsonschema py3-distro"
+subpackages="$pkgname-doc"
+source="$pkgname-$pkgver.tar.gz::https://github.com/ankitects/anki/archive/2.1.15.tar.gz"
+
+
+build() {
+ "$builddir"/tools/build_ui.sh
+}
+
+package() {
+ make DESTDIR="$pkgdir" install
+}
+sha512sums="5bad99d9bfa10782f1d5b69437f45ea8b44d7a65ac1defe1169379f6ce29727c05af896934169c5222b37a4c1b6f3e05b6d10a3a152cc32cfec432fdf2e19b79 anki-2.1.15.tar.gz"