File PKGBUILD of Package mnemosyne
pkgname=mnemosyne
pkgver=2.6.1
pkgrel=2
pkgdesc="A flash-card tool with a sophisticated card review algorithm"
arch=('any')
url='http://www.mnemosyne-proj.org'
license=('GPL')
depends=('python-pyqt5' 'qt5-webengine'
'python-pillow' 'python-matplotlib' 'python-cherrypy' 'python-webob')
makedepends=('python-setuptools')
optdepends=('texlive-core: support for mathematical formulae in cards'
'ttf-ms-fonts: support for non-latin labels on statistic plots'
'python-cheroot: support for starting a sync server')
conflicts=('mnemosyne-bzr')
install='mnemosyne.install'
source=("https://github.com/mnemosyne-proj/mnemosyne/archive/${pkgver}.tar.gz")
sha256sums=('54d226b84ae80d9a9fdcca8e30ce0bada5d056b8f8c166c31489e71fe7bd8c34')
build() {
cd "mnemosyne-${pkgver}/"
python setup.py build
}
package() {
cd "mnemosyne-${pkgver}/"
python setup.py install --root="${pkgdir}" --optimize=1
}