[arch-commits] Commit in anki/repos/community-any (PKGBUILD PKGBUILD anki.install)
Sergej Pupykin
spupykin at archlinux.org
Wed Apr 27 22:53:57 UTC 2016
Date: Thursday, April 28, 2016 @ 00:53:56
Author: spupykin
Revision: 172219
archrelease: copy trunk to community-any
Added:
anki/repos/community-any/PKGBUILD
(from rev 172218, anki/trunk/PKGBUILD)
Deleted:
anki/repos/community-any/PKGBUILD
anki/repos/community-any/anki.install
--------------+
PKGBUILD | 71 ++++++++++++++++++++++++++++-----------------------------
anki.install | 10 --------
2 files changed, 35 insertions(+), 46 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2016-04-27 22:53:42 UTC (rev 172218)
+++ PKGBUILD 2016-04-27 22:53:56 UTC (rev 172219)
@@ -1,36 +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.36
-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=('3952090266459586619f7ce775dc9001')
-
-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 172218, anki/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2016-04-27 22:53:56 UTC (rev 172219)
@@ -0,0 +1,35 @@
+# $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.36
+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' 'python2-sqlalchemy')
+optdepends=('mplayer: sound playing')
+source=(http://ankisrs.net/download/mirror/anki-$pkgver.tgz)
+md5sums=('3952090266459586619f7ce775dc9001')
+
+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-04-27 22:53:42 UTC (rev 172218)
+++ anki.install 2016-04-27 22:53:56 UTC (rev 172219)
@@ -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
-}
More information about the arch-commits
mailing list