[arch-commits] Commit in bpython/trunk (PKGBUILD)

Kyle Keen kkeen at archlinux.org
Wed Apr 10 21:01:52 UTC 2019


    Date: Wednesday, April 10, 2019 @ 21:01:51
  Author: kkeen
Revision: 450911

upgpkg: bpython 0.18-1

Modified:
  bpython/trunk/PKGBUILD

----------+
 PKGBUILD |   17 ++++++++---------
 1 file changed, 8 insertions(+), 9 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2019-04-10 20:11:38 UTC (rev 450910)
+++ PKGBUILD	2019-04-10 21:01:51 UTC (rev 450911)
@@ -4,8 +4,8 @@
 # Contributor: Anton Bazhenov <anton.bazhenov at gmail>
 
 pkgname=('bpython' 'bpython2')
-pkgver=0.17.1
-pkgrel=3
+pkgver=0.18
+pkgrel=1
 pkgdesc='Fancy ncurses interface to the Python interpreter'
 arch=('any')
 url='http://bpython-interpreter.org/'
@@ -18,7 +18,7 @@
 #source=(http://bpython-interpreter.org/releases/bpython-${pkgver}.tar.gz)  # slow
 #source=("https://github.com/bpython/bpython/archive/$pkgver-release.tar.gz")  # missing version data
 source=("https://files.pythonhosted.org/packages/source/b/bpython/bpython-$pkgver.tar.gz")
-md5sums=('3f26972c0fd8e3d1e7dbfc51a837a331')
+md5sums=('a150a9ff3383013da1156dda4b44280d')
 
 # python-watchdog optdep...
 
@@ -62,13 +62,12 @@
   mv bpdb bpdb2
 
   cd "$pkgdir/usr/share/applications/"
-  mv bpython.desktop bpython2.desktop
-  # fix the .desktop file for the rename
-  sed -i 's/bpython/&2/' bpython2.desktop
+  mv org.bpython-interpreter.bpython.desktop org.bpython-interpreter.bpython2.desktop
+  sed -i 's/bpython/&2/' org.bpython-interpreter.bpython2.desktop
 
-  cd "$pkgdir/usr/share/appdata/"
-  mv bpython.appdata.xml bpython2.appdata.xml
-  sed -i 's/bpython/&2/' bpython2.appdata.xml
+  cd "$pkgdir/usr/share/appinfo/"
+  mv org.bpython-interpreter.bpython.appdata.xml org.bpython-interpreter.bpython2.appdata.xml
+  sed -i 's/bpython/&2/' org.bpython-interpreter.bpython2.appdata.xml
 
   cd "$pkgdir/usr/share/pixmaps/"
   mv bpython.png bpython2.png


More information about the arch-commits mailing list