mirror of
https://gitdl.cn/https://github.com/chakralinux/desktop.git
synced 2025-01-24 10:32:13 +08:00
anki: reverting previous change, file .desktop fixed using sed
This commit is contained in:
parent
dafc9d60fd
commit
90c61fb8c5
@ -2,7 +2,7 @@
|
||||
|
||||
pkgname=anki
|
||||
pkgver=2.0.22
|
||||
pkgrel=2
|
||||
pkgrel=3
|
||||
pkgdesc='Helps you remember facts (like words/phrases in a foreign language) efficiently.'
|
||||
url='http://ankisrs.net/'
|
||||
license=('GPL3')
|
||||
@ -14,10 +14,8 @@ depends=('python2-beautifulsoup' 'python2-pyqt4' 'python-pysqlite' 'python2-simp
|
||||
optdepends=('python2-matplotlib: show graphs.'
|
||||
'sox: audio recording.'
|
||||
'python2-pyaudio: audio recording.')
|
||||
source=("http://ankisrs.net/download/mirror/$pkgname-$pkgver.tgz"
|
||||
"anki.desktop")
|
||||
md5sums=('99806b13ac127d5d913b138ef813d7e2'
|
||||
'1a0cd62b33c1066b2d40fce64da6e4eb')
|
||||
source=("http://ankisrs.net/download/mirror/$pkgname-$pkgver.tgz")
|
||||
md5sums=('99806b13ac127d5d913b138ef813d7e2')
|
||||
|
||||
build() {
|
||||
cd $srcdir/anki-$pkgver
|
||||
@ -41,7 +39,7 @@ package() {
|
||||
mv anki.xpm anki.png ../pixmaps/
|
||||
mv anki.desktop ../applications/
|
||||
mv anki.1 ../man/man1/
|
||||
rm ${pkgdir}/usr/share/applications/${pkgname}.desktop
|
||||
mv ${srcdir}/${pkgname}.desktop ${pkgdir}/usr/share/applications/${pkgname}.desktop
|
||||
)
|
||||
sed s/TryExec=anki/TryExec=runanki/ -i $pkgdir/usr/share/applications/anki.desktop
|
||||
|
||||
}
|
||||
|
@ -1,12 +0,0 @@
|
||||
[Desktop Entry]
|
||||
Name=Anki
|
||||
Comment=An intelligent spaced-repetition memory training program
|
||||
GenericName=Flashcards
|
||||
Exec=anki
|
||||
TryExec=runanki
|
||||
Icon=anki
|
||||
Categories=Education;Languages;KDE;Qt;
|
||||
Terminal=false
|
||||
Type=Application
|
||||
Version=1.0
|
||||
MimeType=application/x-apkg;application/x-anki;
|
Loading…
Reference in New Issue
Block a user