mirror of
https://gitdl.cn/https://github.com/chakralinux/desktop.git
synced 2025-02-03 07:07:14 +08:00
29 lines
919 B
Bash
29 lines
919 B
Bash
pkgname=anki
|
|
pkgver=2.1.5
|
|
pkgrel=1
|
|
pkgdesc="Helps you remember facts (like words/phrases in a foreign language) efficiently"
|
|
url="https://ankisrs.net/"
|
|
license=('AGPL3')
|
|
arch=('x86_64')
|
|
categories=('utils')
|
|
depends=('qt5-webengine' 'python3-beautifulsoup4' 'python3-pyaudio' 'python3-pyqt5' 'python3-requests'
|
|
'python3-send2trash' 'python3-decorator' 'python3-markdown' 'desktop-file-utils')
|
|
optdepends=('lame: record sound'
|
|
'mplayer: play sound')
|
|
source=(https://apps.ankiweb.net/downloads/current/anki-$pkgver-linux-amd64.tar.bz2
|
|
makefile-fix.patch)
|
|
sha256sums=('3ba7961dd009ef4e9f8d425481592ccd0629b358bdcec78c1305431645eeb1cf'
|
|
'4dd1c4c93fc50cfd6d0c52c4aae24bea23554840a3fd1b46dcb47305ee618668')
|
|
|
|
prepare() {
|
|
cd anki-$pkgver-linux-amd64
|
|
|
|
patch -p1 <"$srcdir"/makefile-fix.patch
|
|
}
|
|
|
|
package() {
|
|
cd anki-$pkgver-linux-amd64
|
|
|
|
make DESTDIR="$pkgdir" PREFIX=/usr install
|
|
}
|