Date: Monday, April 16, 2018 @ 14:45:46
  Author: bgyorgy
Revision: 316518

upgpkg: guake 3.2.0-1

Update to new version

Modified:
  guake/trunk/PKGBUILD

----------+
 PKGBUILD |   33 ++++++++-------------------------
 1 file changed, 8 insertions(+), 25 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD    2018-04-16 14:41:54 UTC (rev 316517)
+++ PKGBUILD    2018-04-16 14:45:46 UTC (rev 316518)
@@ -5,15 +5,15 @@
 # Contributor: Attila Bukor <r1pp3rj...@w4it.eu>
 
 pkgname=guake
-pkgver=3.0.5
-pkgrel=2
+pkgver=3.2.0
+pkgrel=1
 pkgdesc='Drop-down terminal for GNOME'
 arch=('any')
 url="http://guake-project.org/";
 license=('GPL')
-depends=('libkeybinder3' 'libnotify' 'libutempter' 'python-cairo' 
'python-dbus' 'python-gobject' 'vte3')
-makedepends=('python-pbr' 'git')
-_commit=525b134e8e12db687a7fc5bc6134c7af49a957fc  # tags/3.0.5^0
+depends=('libkeybinder3' 'libnotify' 'libutempter' 'python-cairo' 
'python-dbus' 'python-gobject' 'python-pbr' 'vte3')
+makedepends=('git')
+_commit=20f3aed4c95f7af7dd8742d7b620748328c19e8a  # tags/3.2.0
 source=("git+https://github.com/Guake/guake#commit=$_commit";)
 sha256sums=('SKIP')
 
@@ -22,30 +22,13 @@
   git describe --tags | sed 's/-/+/g'
 }
 
-prepare() {
-  cd $pkgname
-  sed -i '/glib-compile-schemas/d' Makefile
-
-  # Fix path
-  sed -i "s|IMAGE_DIR = .*|IMAGE_DIR = '/usr/share/pixmaps/guake'|
-          s|GLADE_DIR = .*|GLADE_DIR = '/usr/share/guake'|
-          s|SCHEMA_DIR = .*|SCHEMA_DIR = '/usr/share/glib-2.0/schemas'|" 
guake/globals.py
-
-  # Remove dependency on python-pbr
-  sed -i "/import pbr.version/d
-          s/pbr.version.VersionInfo('guake').version_string()/'$pkgver'/" 
guake/__init__.py
-}
-
 build() {
   cd $pkgname
-  PBR_VERSION=$pkgver python3 setup.py build
-  make generate-desktop generate-mo
+  make
 }
 
 package() {
   cd $pkgname
-  PBR_VERSION=$pkgver python3 setup.py install --root="$pkgdir" --optimize=1
-  install -Dm644 -t "$pkgdir/usr/share/guake/" guake/data/*.glade 
-  install -Dm644 -t "$pkgdir/usr/share/pixmaps/guake/" 
guake/data/pixmaps/*.png 
-  make PREFIX="$pkgdir/usr" install-schemas install-locale
+  sed -i '/@pip3/d' Makefile
+  make DESTDIR="$pkgdir" prefix='/usr' COMPILE_SCHEMA=0 install
 }

Reply via email to