2015-10-24 23:02:43 +00:00
|
|
|
# Template file for 'anki'
|
|
|
|
pkgname=anki
|
2016-07-21 19:00:38 +00:00
|
|
|
version=2.0.36
|
2016-10-30 22:46:43 +00:00
|
|
|
revision=2
|
2015-10-24 23:02:43 +00:00
|
|
|
noarch=yes
|
2016-10-30 22:46:43 +00:00
|
|
|
depends="python-PyQt4-webkit python-httplib2 python-SQLAlchemy"
|
2015-10-24 23:02:43 +00:00
|
|
|
pycompile_dirs="/usr/share/anki/anki /usr/share/anki/aqt"
|
|
|
|
short_desc="Spaced repetition flashcard program"
|
|
|
|
maintainer="Steve Prybylski <sa.prybylx@gmail.com>"
|
|
|
|
license="AGPL-3"
|
|
|
|
homepage="http://ankisrs.net"
|
|
|
|
distfiles="http://ankisrs.net/download/mirror/${pkgname}-${version}.tgz"
|
2016-07-21 19:00:38 +00:00
|
|
|
checksum=fb208230cdc50ea02d53f521cf03926c627fff7cf731b7d29dc733d3ab04171c
|
2015-10-24 23:02:43 +00:00
|
|
|
|
|
|
|
do_install() {
|
|
|
|
vmkdir usr/share/anki
|
|
|
|
for f in anki aqt designer locale oldanki anki.xml; do
|
|
|
|
vcopy $f usr/share/anki
|
|
|
|
done
|
|
|
|
|
|
|
|
# thirdparty
|
|
|
|
vmkdir usr/share/anki/thirdparty
|
|
|
|
vcopy thirdparty/BeautifulSoup.py usr/share/anki/thirdparty
|
|
|
|
vcopy thirdparty/send2trash usr/share/anki/thirdparty
|
|
|
|
|
|
|
|
# icons
|
|
|
|
vmkdir usr/share/pixmaps
|
|
|
|
for p in anki.xpm anki.png; do
|
|
|
|
vcopy $p usr/share/pixmaps
|
|
|
|
done
|
|
|
|
vinstall anki.desktop 644 usr/share/applications
|
|
|
|
vbin runanki anki
|
|
|
|
vman anki.1
|
|
|
|
}
|