[arch-commits] Commit in pychess/trunk (PKGBUILD pychess.install)

Balló György bgyorgy at nymeria.archlinux.org
Sat Jan 11 10:44:10 UTC 2014


    Date: Saturday, January 11, 2014 @ 11:44:09
  Author: bgyorgy
Revision: 103749

upgpkg: pychess 0.10.1-4

Remove unused python2-pysqlite dependency

Modified:
  pychess/trunk/PKGBUILD
  pychess/trunk/pychess.install

-----------------+
 PKGBUILD        |   12 ++++++++----
 pychess.install |    1 +
 2 files changed, 9 insertions(+), 4 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2014-01-11 10:18:38 UTC (rev 103748)
+++ PKGBUILD	2014-01-11 10:44:09 UTC (rev 103749)
@@ -4,23 +4,27 @@
 
 pkgname=pychess
 pkgver=0.10.1
-pkgrel=3
+pkgrel=4
 pkgdesc="Chess client for the GNOME desktop"
 arch=('any')
 url="http://pychess.org/"
 license=('GPL')
-depends=('python2-pysqlite' 'gnome-icon-theme' 'python2-rsvg'
-         'pygtksourceview2' 'gstreamer0.10-python')
+depends=('gnome-icon-theme' 'python2-rsvg' 'pygtksourceview2' 'gstreamer0.10-python'
+         'desktop-file-utils')
 install=pychess.install
 source=(http://pychess.googlecode.com/files/pychess-$pkgver.tar.gz)
 md5sums=('ee1893071823b3d41ecdb1ef314fb8ba')
 
-package() {
+prepare() {
   cd $srcdir/pychess-$pkgver
 
   sed -i "s|#!/usr/bin/python$|#!/usr/bin/python2|" lib/pychess/Players/PyChess.py
   sed -i "/vm binname/s|python|python2|" lib/pychess/Players/engineNest.py
   sed -i "/binname ==/s|python|python2|" lib/pychess/widgets/newGameDialog.py
+}
 
+package() {
+  cd $srcdir/pychess-$pkgver
+
   python2 setup.py install --prefix=/usr --root=$pkgdir
 }

Modified: pychess.install
===================================================================
--- pychess.install	2014-01-11 10:18:38 UTC (rev 103748)
+++ pychess.install	2014-01-11 10:44:09 UTC (rev 103749)
@@ -1,5 +1,6 @@
 post_install() {
     gtk-update-icon-cache -q -t -f usr/share/icons/hicolor
+    update-desktop-database -q
 }
 
 post_upgrade() {




More information about the arch-commits mailing list