33 lines
890 B
Bash
33 lines
890 B
Bash
# Template file for 'anki'
|
|
pkgname=anki
|
|
version=2.1.4
|
|
revision=1
|
|
noarch=yes
|
|
depends="python3-PyQt5-webkit python3-httplib2 python3-SQLAlchemy
|
|
python3-send2trash python3-BeautifulSoup4"
|
|
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.0-or-later"
|
|
homepage="https://apps.ankiweb.net"
|
|
distfiles="https://apps.ankiweb.net/downloads/current/anki-${version}-source.tgz"
|
|
checksum=666886a36609ec605907da99a8373bc2d0a94704eefb14f60de0d6cf783bb701
|
|
|
|
do_install() {
|
|
vmkdir usr/share/anki
|
|
for f in anki aqt designer locale anki.xml; do
|
|
vcopy $f usr/share/anki
|
|
done
|
|
|
|
# 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
|
|
|
|
vlicense LICENSE
|
|
}
|