parent
2b4cd65c47
commit
0ce8a20478
1 changed files with 35 additions and 0 deletions
35
srcpkgs/anki/template
Normal file
35
srcpkgs/anki/template
Normal 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
|
||||
}
|
||||
|
Loading…
Reference in a new issue