Date: Thursday, June 13, 2013 @ 14:56:02 Author: spupykin Revision: 92716
archrelease: copy trunk to community-any Added: anki/repos/community-any/PKGBUILD (from rev 92715, anki/trunk/PKGBUILD) anki/repos/community-any/anki.install (from rev 92715, anki/trunk/anki.install) Deleted: anki/repos/community-any/PKGBUILD anki/repos/community-any/anki.install --------------+ PKGBUILD | 82 ++++++++++++++++++++++++++++----------------------------- anki.install | 20 ++++++------- 2 files changed, 51 insertions(+), 51 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2013-06-13 12:55:51 UTC (rev 92715) +++ PKGBUILD 2013-06-13 12:56:02 UTC (rev 92716) @@ -1,41 +0,0 @@ -# $Id$ -# Maintainer: Sergej Pupykin <pupykin.s+a...@gmail.com> -# Maintainer: Timm Preetz <t...@preetz.us> -# Contributor: Michael 'manveru' Fellinger <m.fellin...@gmail.com> -# Contributor: Dave Pretty <david dot pretty at gmail dot com> - -pkgname=anki -pkgver=2.0.9 -pkgrel=1 -pkgdesc="Helps you remember facts (like words/phrases in a foreign language) efficiently" -url="http://ankisrs.net/" -license=('GPL') -arch=('any') -depends=('python2-pyqt' 'python2-sqlalchemy' 'python2-simplejson' - 'python2-pysqlite' 'python2-beautifulsoup3') -makedepends=() -optdepends=('python2-matplotlib: show graphs' - 'sox: audio recording' - 'portaudio') -install=anki.install -source=(http://ankisrs.net/download/mirror/anki-$pkgver.tgz) -md5sums=('c61bb6af11d5dc461aa3d92b4b3d22ce') - -build() { - cd $srcdir/anki-$pkgver - sed -i 's|#!/usr/bin/env python|#!/usr/bin/env python2|' runanki - rm -f anki.bat -} - -package() { - cd $srcdir/anki-$pkgver - mkdir -p $pkgdir/usr/{bin,share/{anki,pixmaps,applications,man/man1}} - cp -av * $pkgdir/usr/share/anki/ - cd $pkgdir/usr/share/anki && ( - mv runanki ../../bin/anki - mv anki.xpm anki.png ../pixmaps/ - mv anki.desktop ../applications/ - mv anki.1 ../man/man1/ - ) - rm -f $pkgdir/usr/share/anki/thirdparty/py*/_portaudio.so -} Copied: anki/repos/community-any/PKGBUILD (from rev 92715, anki/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2013-06-13 12:56:02 UTC (rev 92716) @@ -0,0 +1,41 @@ +# $Id$ +# Maintainer: Sergej Pupykin <pupykin.s+a...@gmail.com> +# Maintainer: Timm Preetz <t...@preetz.us> +# Contributor: Michael 'manveru' Fellinger <m.fellin...@gmail.com> +# Contributor: Dave Pretty <david dot pretty at gmail dot com> + +pkgname=anki +pkgver=2.0.10 +pkgrel=1 +pkgdesc="Helps you remember facts (like words/phrases in a foreign language) efficiently" +url="http://ankisrs.net/" +license=('GPL') +arch=('any') +depends=('python2-pyqt' 'python2-sqlalchemy' 'python2-simplejson' + 'python2-pysqlite' 'python2-beautifulsoup3') +makedepends=() +optdepends=('python2-matplotlib: show graphs' + 'sox: audio recording' + 'portaudio') +install=anki.install +source=(http://ankisrs.net/download/mirror/anki-$pkgver.tgz) +md5sums=('5fafadb69916914a788b509fa230f5c6') + +build() { + cd $srcdir/anki-$pkgver + sed -i 's|#!/usr/bin/env python|#!/usr/bin/env python2|' runanki + rm -f anki.bat +} + +package() { + cd $srcdir/anki-$pkgver + mkdir -p $pkgdir/usr/{bin,share/{anki,pixmaps,applications,man/man1}} + cp -av * $pkgdir/usr/share/anki/ + cd $pkgdir/usr/share/anki && ( + mv runanki ../../bin/anki + mv anki.xpm anki.png ../pixmaps/ + mv anki.desktop ../applications/ + mv anki.1 ../man/man1/ + ) + rm -f $pkgdir/usr/share/anki/thirdparty/py*/_portaudio.so +} Deleted: anki.install =================================================================== --- anki.install 2013-06-13 12:55:51 UTC (rev 92715) +++ anki.install 2013-06-13 12:56:02 UTC (rev 92716) @@ -1,10 +0,0 @@ -post_install() { -# xdg-mime install --novendor usr/share/anki/anki.xml -# xdg-mime default anki.desktop application/x-anki -# xdg-mime default anki.desktop application/x-apkg - [ -x usr/bin/update-desktop-database ] && update-desktop-database -q -} - -post_upgrade() { - post_install -} Copied: anki/repos/community-any/anki.install (from rev 92715, anki/trunk/anki.install) =================================================================== --- anki.install (rev 0) +++ anki.install 2013-06-13 12:56:02 UTC (rev 92716) @@ -0,0 +1,10 @@ +post_install() { +# xdg-mime install --novendor usr/share/anki/anki.xml +# xdg-mime default anki.desktop application/x-anki +# xdg-mime default anki.desktop application/x-apkg + [ -x usr/bin/update-desktop-database ] && update-desktop-database -q +} + +post_upgrade() { + post_install +}