New package: anki-2.0.33

Closes #2819
This commit is contained in:
Steve Prybylski 2015-10-24 19:02:43 -04:00
parent 2b4cd65c47
commit 0ce8a20478

35
srcpkgs/anki/template Normal file
View File

@ -0,0 +1,35 @@
# Template file for 'anki'
pkgname=anki
version=2.0.33
revision=1
noarch=yes
depends="python-PyQt4 python-httplib2 python-SQLAlchemy"
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"
checksum=b9fe2c35a68e90f3fa31f5c67f3447a7e1033d1c909baa381a1525ce5e71b9b4
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
}