mirror of
https://gitdl.cn/https://github.com/chakralinux/desktop.git
synced 2025-02-03 08:07:21 +08:00
Moved Anki in from the CCR, along with python-sqlalchemy, in which Anki depends.
This commit is contained in:
parent
f429d2001d
commit
a521280d48
40
anki/PKGBUILD
Normal file
40
anki/PKGBUILD
Normal file
@ -0,0 +1,40 @@
|
|||||||
|
#
|
||||||
|
# Apps Packages for Chakra, part of chakra-project.org
|
||||||
|
#
|
||||||
|
# Maintainer: Adrián Chaves Fernández (Gallaecio) <adriyetichaves gmail.com>
|
||||||
|
# Contributor: Julien Humbert <julroy67 at gmail dot com>
|
||||||
|
# Contributor: Sergej Pupykin <pupykin.s+arch at gmail dot com>
|
||||||
|
# Contributor: Timm Preetz <timm at preetz dot us>
|
||||||
|
# Contributor: Michael 'manveru' Fellinger <m.fellinger at gmail dot com>
|
||||||
|
# Contributor: Dave Pretty <david dot pretty at gmail dot com>
|
||||||
|
|
||||||
|
pkgname=anki
|
||||||
|
pkgver=1.2.9
|
||||||
|
pkgrel=1
|
||||||
|
pkgdesc='Helps you remember facts (like words/phrases in a foreign language) efficiently.'
|
||||||
|
url='http://ankisrs.net/'
|
||||||
|
license=(GPL3)
|
||||||
|
arch=('any')
|
||||||
|
depends=('beautiful-soup' 'pyqt' 'python-pysqlite' 'python-simplejson' 'python-sqlalchemy')
|
||||||
|
optdepends=('python-matplotlib: show graphs.'
|
||||||
|
'sox: audio recording.'
|
||||||
|
'pyaudio: audio recording.')
|
||||||
|
makedepends=('desktop-file-utils' 'setuptools')
|
||||||
|
source=(http://anki.googlecode.com/files/$pkgname-$pkgver.tgz)
|
||||||
|
md5sums=('3b32c40c589565ebd5b349f8e0d36967')
|
||||||
|
|
||||||
|
package() {
|
||||||
|
cd $srcdir/$pkgname-$pkgver
|
||||||
|
|
||||||
|
export PYTHONPATH=$srcdir/$pkgname-$pkgver/libanki
|
||||||
|
|
||||||
|
(
|
||||||
|
cd libanki \
|
||||||
|
&& python2 setup.py install --root $pkgdir
|
||||||
|
)
|
||||||
|
python2 setup.py install --root $pkgdir
|
||||||
|
|
||||||
|
# Desktop integration.
|
||||||
|
desktop-file-install --dir $pkgdir/usr/share/applications $pkgname.desktop
|
||||||
|
install -D -m 644 icons/$pkgname.png $pkgdir/usr/share/pixmaps/$pkgname.png
|
||||||
|
}
|
25
python-sqlalchemy/PKGBUILD
Normal file
25
python-sqlalchemy/PKGBUILD
Normal file
@ -0,0 +1,25 @@
|
|||||||
|
#
|
||||||
|
# Apps Packages for Chakra, part of chakra-project.org
|
||||||
|
#
|
||||||
|
# Maintainer: Adrián Chaves Fernández (Gallaecio) <adriyetichaves gmail.com>
|
||||||
|
# Contributor: Julien Humbert <julroy67 at gmail dot com>
|
||||||
|
# Contributor: Angel 'angvp' Velasquez <angvp at archlinux dot com.ve>
|
||||||
|
|
||||||
|
pkgname=python-sqlalchemy
|
||||||
|
_pkgname=sqlalchemy
|
||||||
|
_pkgname2=SQLAlchemy
|
||||||
|
pkgver=0.7.2
|
||||||
|
pkgrel=1
|
||||||
|
pkgdesc="Python SQL toolkit and Object Relational Mapper"
|
||||||
|
arch=(i686 x86_64)
|
||||||
|
url="http://www.sqlalchemy.org/"
|
||||||
|
license=('MIT')
|
||||||
|
makedepends=('python' 'python-distribute')
|
||||||
|
source=(http://downloads.sourceforge.net/sourceforge/$_pkgname/$_pkgname2-$pkgver.tar.gz)
|
||||||
|
md5sums=('234494800f2a0ac3ad7c06e0ffa4641e')
|
||||||
|
|
||||||
|
package() {
|
||||||
|
cd $srcdir/$_pkgname2-$pkgver
|
||||||
|
python setup.py install --root=$pkgdir
|
||||||
|
install -Dm644 LICENSE $pkgdir/usr/share/licenses/$pkgname/license.txt
|
||||||
|
}
|
Loading…
Reference in New Issue
Block a user