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

2016-05-23 Thread Alexander Rødseth
Date: Monday, May 23, 2016 @ 20:38:09
  Author: arodseth
Revision: 176153

upgpkg: pychess 0.12.3-3

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

-+
 PKGBUILD|   14 ++
 pychess.install |   14 --
 2 files changed, 6 insertions(+), 22 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2016-05-23 18:27:31 UTC (rev 176152)
+++ PKGBUILD2016-05-23 18:38:09 UTC (rev 176153)
@@ -1,23 +1,21 @@
 # $Id$
-# Maintainer: Allan McRae 
+# Maintainer: Alexander F Rødseth 
+# Contributor: Allan McRae 
 # Contributor: Alexander Fehr 
 
 pkgname=pychess
 pkgver=0.12.3
-pkgrel=2
+pkgrel=3
 pkgdesc='Chess client'
 arch=('any')
 url='http://pychess.org/'
 license=('GPL')
-depends=('python-gobject' 'python-cairo' 'gtksourceview3' 'gst-plugins-base' 
'desktop-file-utils')
-install=pychess.install
+depends=('python-gobject' 'python-cairo' 'gtksourceview3' 'gst-plugins-base')
 source=("http://www.pychess.org/download/pychess-$pkgver.tar.gz;)
-md5sums=('70035ee3523f7d1c182137a9e146050c')
+sha256sums=('11d5e2d447bb945283f0239a407d8069b13afd77d3a2d491c9c352f1b7862e67')
 
 package() {
-  cd "pychess-$pkgver"
-
-  python setup.py install --prefix=/usr --root="$pkgdir"
+  cd "pychess-$pkgver"; python setup.py install --prefix=/usr --root="$pkgdir"
 }
 
 # getver: 
raw.githubusercontent.com/pychess/pychess/master/lib/pychess/__init__.py

Deleted: pychess.install
===
--- pychess.install 2016-05-23 18:27:31 UTC (rev 176152)
+++ pychess.install 2016-05-23 18:38:09 UTC (rev 176153)
@@ -1,14 +0,0 @@
-post_install() {
-  gtk-update-icon-cache -q -t -f usr/share/icons/hicolor
-  update-desktop-database -q
-}
-
-post_upgrade() {
-  post_install
-}
-
-post_remove() {
-  post_install
-}
-
-# vim:set ts=2 sw=2 et:


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

2016-03-11 Thread Alexander Rødseth
Date: Saturday, March 12, 2016 @ 08:59:06
  Author: arodseth
Revision: 166204

upgpkg: pychess 0.12.3-1

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

-+
 PKGBUILD|4 ++--
 pychess.install |   10 ++
 2 files changed, 8 insertions(+), 6 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2016-03-12 07:40:27 UTC (rev 166203)
+++ PKGBUILD2016-03-12 07:59:06 UTC (rev 166204)
@@ -3,7 +3,7 @@
 # Contributor: Alexander Fehr 
 
 pkgname=pychess
-pkgver=0.12.2
+pkgver=0.12.3
 pkgrel=1
 pkgdesc='Chess client'
 arch=('any')
@@ -12,7 +12,7 @@
 depends=('python' 'python-gobject' 'python-cairo' 'gobject-introspection' 
'glib2' 'gtk3' 'pango' 'gdk-pixbuf2' 'gtksourceview3' 'gstreamer' 
'gst-plugins-base' 'pygtksourceview2' 'gstreamer0.10-python' 
'desktop-file-utils')
 install=pychess.install
 source=("http://www.pychess.org/download/pychess-$pkgver.tar.gz;)
-md5sums=('4d7ed37cf2cf1e451240ed90646a6f56')
+md5sums=('70035ee3523f7d1c182137a9e146050c')
 
 package() {
   cd "pychess-$pkgver"

Modified: pychess.install
===
--- pychess.install 2016-03-12 07:40:27 UTC (rev 166203)
+++ pychess.install 2016-03-12 07:59:06 UTC (rev 166204)
@@ -1,12 +1,14 @@
 post_install() {
-gtk-update-icon-cache -q -t -f usr/share/icons/hicolor
-update-desktop-database -q
+  gtk-update-icon-cache -q -t -f usr/share/icons/hicolor
+  update-desktop-database -q
 }
 
 post_upgrade() {
-post_install
+  post_install
 }
 
 post_remove() {
-post_install
+  post_install
 }
+
+# vim:set ts=2 sw=2 et:


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

2014-01-11 Thread Balló György
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
===
--- PKGBUILD2014-01-11 10:18:38 UTC (rev 103748)
+++ PKGBUILD2014-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() {