[arch-commits] Commit in anki/repos/community-any (4 files)

Balló György bgyorgy at nymeria.archlinux.org
Sat Jan 11 02:09:50 UTC 2014


    Date: Saturday, January 11, 2014 @ 03:09:50
  Author: bgyorgy
Revision: 103737

archrelease: copy trunk to community-any

Added:
  anki/repos/community-any/PKGBUILD
    (from rev 103736, anki/trunk/PKGBUILD)
  anki/repos/community-any/anki.install
    (from rev 103736, anki/trunk/anki.install)
Deleted:
  anki/repos/community-any/PKGBUILD
  anki/repos/community-any/anki.install

--------------+
 PKGBUILD     |   78 ++++++++++++++++++++++++++-------------------------------
 anki.install |   20 +++++++-------
 2 files changed, 46 insertions(+), 52 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2014-01-11 02:09:45 UTC (rev 103736)
+++ PKGBUILD	2014-01-11 02:09:50 UTC (rev 103737)
@@ -1,42 +0,0 @@
-# $Id$
-# Maintainer: Sergej Pupykin <pupykin.s+arch at gmail.com>
-# Maintainer: Timm Preetz <timm at preetz.us>
-# Contributor: Michael 'manveru' Fellinger <m.fellinger at gmail.com>
-# Contributor: Dave Pretty <david dot pretty at gmail dot com>
-
-pkgname=anki
-pkgver=2.0.20
-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-pyqt' 'python2-sqlalchemy' 'python2-simplejson'
-	 'python2-pysqlite' 'python2-beautifulsoup3')
-makedepends=()
-optdepends=('python2-matplotlib: show graphs'
-	    'sox: audio recording'
-	    'mplayer: sound playing'
-	    'portaudio')
-install=anki.install
-source=(http://ankisrs.net/download/mirror/anki-$pkgver.tgz)
-md5sums=('15634935901ba98f4c5a594924b0b76e')
-
-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 103736, anki/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2014-01-11 02:09:50 UTC (rev 103737)
@@ -0,0 +1,36 @@
+# $Id$
+# Maintainer: Sergej Pupykin <pupykin.s+arch at gmail.com>
+# Maintainer: Timm Preetz <timm at preetz.us>
+# Contributor: Michael 'manveru' Fellinger <m.fellinger at gmail.com>
+# Contributor: Dave Pretty <david dot pretty at gmail dot com>
+
+pkgname=anki
+pkgver=2.0.20
+pkgrel=2
+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')
+optdepends=('mplayer: sound playing')
+install=anki.install
+source=(http://ankisrs.net/download/mirror/anki-$pkgver.tgz)
+md5sums=('15634935901ba98f4c5a594924b0b76e')
+
+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	2014-01-11 02:09:45 UTC (rev 103736)
+++ anki.install	2014-01-11 02:09:50 UTC (rev 103737)
@@ -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 103736, anki/trunk/anki.install)
===================================================================
--- anki.install	                        (rev 0)
+++ anki.install	2014-01-11 02:09:50 UTC (rev 103737)
@@ -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
+}




More information about the arch-commits mailing list