Date: Saturday, July 12, 2014 @ 13:14:25
  Author: kkeen
Revision: 115565

upgpkg: bpython 0.13-1

Modified:
  bpython/trunk/PKGBUILD

----------+
 PKGBUILD |   26 +++++++++++++++-----------
 1 file changed, 15 insertions(+), 11 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD    2014-07-12 03:44:36 UTC (rev 115564)
+++ PKGBUILD    2014-07-12 11:14:25 UTC (rev 115565)
@@ -1,11 +1,12 @@
 # $Id$
-# Maintainer: Thomas Dziedzic < gostrc at gmail >
+# Maintainer: Kyle Keen < keenerd at gmail >
+# Contributor: Thomas Dziedzic < gostrc at gmail >
 # Contributor: Mike Sampson <mike at sambodata dot com>
 # Contributor: Anton Bazhenov <anton.bazhenov at gmail>
 
 pkgname=('bpython' 'bpython2')
-pkgver=0.12
-pkgrel=3
+pkgver=0.13
+pkgrel=1
 pkgdesc='Fancy interface to the Python interpreter'
 arch=('any')
 url='http://bpython-interpreter.org/'
@@ -12,7 +13,7 @@
 license=('MIT')
 makedepends=('python-distribute' 'python2-distribute')
 source=(http://bpython-interpreter.org/releases/bpython-${pkgver}.tar.gz)
-md5sums=('14cbe92620d386a769b3faa282a1d6c3')
+md5sums=('2ff926ff50570bcc172917af831be1e6')
 
 build() {
   cp -r bpython-$pkgver bpython2-$pkgver
@@ -50,13 +51,16 @@
   install -Dm644 LICENSE "$pkgdir/usr/share/licenses/bpython2/LICENSE"
 
   # conflicting files with bpython
-  mv "$pkgdir/usr/bin/bpython" "$pkgdir/usr/bin/bpython2"
-  mv "$pkgdir/usr/bin/bpython-gtk" "$pkgdir/usr/bin/bpython2-gtk"
-  mv "$pkgdir/usr/bin/bpython-urwid" "$pkgdir/usr/bin/bpython2-urwid"
-  mv "$pkgdir/usr/share/applications/bpython.desktop" \
-     "$pkgdir/usr/share/applications/bpython2.desktop"
+  pushd "$pkgdir/usr/bin/"
+  mv bpython bpython2
+  mv bpython-gtk bpython2-gtk
+  mv bpython-urwid bpython2-urwid
+  mv bpython-curtsies bpython2-curtsies
+  popd
+  pushd "$pkgdir/usr/share/applications/"
+  mv bpython.desktop bpython2.desktop
 
   # fix the .desktop file for the rename
-  sed -e 's/bpython/&2/' \
-    -i "$pkgdir/usr/share/applications/bpython2.desktop"
+  sed -i 's/bpython/&2/' bpython2.desktop
+  popd
 }

Reply via email to