Date: Sunday, March 27, 2016 @ 23:03:47 Author: spupykin Revision: 168581
archrelease: copy trunk to community-any Added: anki/repos/community-any/PKGBUILD (from rev 168580, anki/trunk/PKGBUILD) anki/repos/community-any/anki.install (from rev 168580, anki/trunk/anki.install) Deleted: anki/repos/community-any/PKGBUILD anki/repos/community-any/anki.install --------------+ PKGBUILD | 72 ++++++++++++++++++++++++++++----------------------------- anki.install | 20 +++++++-------- 2 files changed, 46 insertions(+), 46 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2016-03-27 21:03:33 UTC (rev 168580) +++ PKGBUILD 2016-03-27 21:03:47 UTC (rev 168581) @@ -1,36 +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.33 -pkgrel=1 -pkgdesc="Helps you remember facts (like words/phrases in a foreign language) efficiently" -url="http://ankisrs.net/" -license=('AGPL3') -arch=('any') -depends=('python2-pyqt4' 'python2-beautifulsoup3' 'python2-httplib2' 'python2-sqlalchemy') -optdepends=('mplayer: sound playing') -install=anki.install -source=(http://ankisrs.net/download/mirror/anki-$pkgver.tgz) -md5sums=('5df370dd19c71a76cdce448104824cf7') - -prepare() { - cd $srcdir/anki-$pkgver - sed -i 's|#!/usr/bin/env python|#!/usr/bin/env python2|' anki/anki runanki -} - -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 -rf $pkgdir/usr/share/anki/{tests,thirdparty/[!s]*,tools,anki.bat} -} Copied: anki/repos/community-any/PKGBUILD (from rev 168580, anki/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2016-03-27 21:03:47 UTC (rev 168581) @@ -0,0 +1,36 @@ +# $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.34 +pkgrel=1 +pkgdesc="Helps you remember facts (like words/phrases in a foreign language) efficiently" +url="http://ankisrs.net/" +license=('AGPL3') +arch=('any') +depends=('python2-pyqt4' 'python2-beautifulsoup3' 'python2-httplib2' 'python2-sqlalchemy') +optdepends=('mplayer: sound playing') +install=anki.install +source=(http://ankisrs.net/download/mirror/anki-$pkgver.tgz) +md5sums=('89cc08835b911abad9d059c640ceaf49') + +prepare() { + cd $srcdir/anki-$pkgver + sed -i 's|#!/usr/bin/env python|#!/usr/bin/env python2|' anki/anki runanki +} + +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 -rf $pkgdir/usr/share/anki/{tests,thirdparty/[!s]*,tools,anki.bat} +} Deleted: anki.install =================================================================== --- anki.install 2016-03-27 21:03:33 UTC (rev 168580) +++ anki.install 2016-03-27 21:03:47 UTC (rev 168581) @@ -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 168580, anki/trunk/anki.install) =================================================================== --- anki.install (rev 0) +++ anki.install 2016-03-27 21:03:47 UTC (rev 168581) @@ -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 +}