[Lunar-commits] <moonbase> anki: new memorization app

Paul Bredbury brebs at lunar-linux.org
Tue Jan 18 09:03:03 CET 2011


commit 000bea59f32d7725249917bc2ba5fd6b7c42f78a
Author: Paul Bredbury <brebs at lunar-linux.org>
Date:   Tue Jan 18 15:03:03 2011 +0700

    anki: new memorization app
---
 zbeta/anki/BUILD   |   22 ++++++++++++++++++++++
 zbeta/anki/DEPENDS |    4 ++++
 zbeta/anki/DETAILS |   24 ++++++++++++++++++++++++
 3 files changed, 50 insertions(+), 0 deletions(-)

diff --git a/zbeta/anki/BUILD b/zbeta/anki/BUILD
new file mode 100644
index 0000000..5a19caa
--- /dev/null
+++ b/zbeta/anki/BUILD
@@ -0,0 +1,22 @@
+(
+
+  # Based on http://www.archlinux.org/packages/community/any/anki/
+  # and http://koji.fedoraproject.org/koji/packageinfo?packageID=7847
+  cd libanki &&
+  python setup.py build &&
+  cd .. &&
+  python setup.py build &&
+
+  prepare_install &&
+
+  cd libanki &&
+  # Specifying root, to stop packages clobbering each other's easy-install.pth
+  # http://mail.python.org/pipermail/distutils-sig/2008-October/010208.html
+  python setup.py install -O1 --skip-build --root=/ &&
+  cd .. &&
+  python setup.py install -O1 --skip-build --root=/ &&
+
+  install -D -m644 $MODULE.desktop /usr/share/applications/$MODULE.desktop &&
+  install -D -m644 icons/$MODULE.png /usr/share/pixmaps/$MODULE.png
+
+) > $C_FIFO 2>&1
diff --git a/zbeta/anki/DEPENDS b/zbeta/anki/DEPENDS
new file mode 100644
index 0000000..39678a9
--- /dev/null
+++ b/zbeta/anki/DEPENDS
@@ -0,0 +1,4 @@
+depends BeautifulSoup
+depends PyQt4
+depends simplejson
+depends SQLAlchemy
diff --git a/zbeta/anki/DETAILS b/zbeta/anki/DETAILS
new file mode 100644
index 0000000..e649125
--- /dev/null
+++ b/zbeta/anki/DETAILS
@@ -0,0 +1,24 @@
+          MODULE=anki
+         VERSION=1.2.3
+          SOURCE=$MODULE-$VERSION.tgz
+   # The mirror isn't blocked in some countries, so try it first.
+   # http://ankisrs.net/#mirror
+   SOURCE_URL[0]=http://ankisrs.net/download/mirror
+   SOURCE_URL[1]=http://anki.googlecode.com/files
+      SOURCE_VFY=sha1:037524ea8000a91741f0fe8b3a783258b4a553f9
+        WEB_SITE=http://ankisrs.net/
+         ENTERED=20110116
+         UPDATED=20110116
+           SHORT="A spaced-repetition memory training program (flash cards)"
+
+cat << EOF
+Anki is a program which makes remembering things easy. Because it is a
+lot more efficient than traditional study methods, you can either
+greatly decrease your time spent studying, or greatly increase the
+amount you learn.
+
+Anyone who needs to remember things in their daily life can benefit
+from Anki. Since it is content-agnostic and supports images, audio,
+videos and scientific markup (via LaTeX), the possibilities are
+endless.
+EOF


More information about the Lunar-commits mailing list