#Maintainer: Shador pkgname=anki pkgver=0.9.9.8.5 pkgrel=1ab arch=i486 source=('http://ichi2.net/anki/download/files/anki-0.9.9.8.5.tgz') sourcetemplate="http://gaia.homelinux.org/salix/packages/$pkgname/$pkgver/" docs=("readme" "install" "copying" "changelog" "authors" "news" "todo") url='http://ichi2.net/anki' slackdesc=\ ( #|-----handy-ruler------------------------------------------------------| "$pkgname (multilanguage flashcard generator)" "Anki is a spaced repetition system (SRS). It helps you remember things" "by intelligently scheduling flashcards, so that you can learn a lot of" "information with the minimum amount of effort." ) build() { cd $startdir/src/$pkgname-$pkgver cd libanki python setup.py install --prefix=/usr --root=$startdir/pkg || return 1 cd .. python setup.py install --prefix=/usr --root=$startdir/pkg || return 1 install -vD anki.desktop $startdir/pkg/usr/share/applications/anki.desktop install -vD icons/anki.png $startdir/pkg/usr/share/icons/hicolor/32x32/apps/anki.png }