[arch-commits] Commit in ubuntuone-control-panel/trunk (PKGBUILD)

Balló György bgyorgy at nymeria.archlinux.org
Mon Dec 2 14:37:38 UTC 2013


    Date: Monday, December 2, 2013 @ 15:37:38
  Author: bgyorgy
Revision: 101878

upgpkg: ubuntuone-control-panel 13.10-1

Update to version 13.10

Modified:
  ubuntuone-control-panel/trunk/PKGBUILD

----------+
 PKGBUILD |   16 +++++++++-------
 1 file changed, 9 insertions(+), 7 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2013-12-02 14:37:11 UTC (rev 101877)
+++ PKGBUILD	2013-12-02 14:37:38 UTC (rev 101878)
@@ -2,7 +2,7 @@
 # Maintainer: Balló György <ballogyor+arch at gmail dot com>
 
 pkgname=ubuntuone-control-panel
-pkgver=4.2.0
+pkgver=13.10
 pkgrel=1
 pkgdesc="Graphical user interface that allows the users to manage their Ubuntu One subscription and preferences"
 arch=('any')
@@ -10,10 +10,10 @@
 license=('GPL')
 depends=('ubuntuone-client')
 makedepends=('python2-distutils-extra')
-source=(https://launchpad.net/ubuntuone-control-panel/stable-4-2/$pkgver/+download/$pkgname-$pkgver.tar.gz)
-md5sums=('19afeb2cf7090c1bef0f12ed0c35942d')
+source=(https://launchpad.net/ubuntuone-control-panel/stable-13-10/$pkgver/+download/$pkgname-$pkgver.tar.gz)
+md5sums=('0a3600f86331449c8a1aad46dd79e687')
 
-build() {
+prepare() {
   cd "$srcdir/$pkgname-$pkgver"
 
   # Python2 fix
@@ -20,15 +20,17 @@
   sed -i 's@^#!.*python$@#!/usr/bin/python2@' bin/*
 
   # Fix desktop file
-  sed -i 's/^Categories=.*/Categories=Qt;Network;FileTransfer/' ubuntuone-installer.desktop.in
-  sed -i '/^NotShowIn=/d' ubuntuone-installer.desktop.in
+  sed -i 's/^Categories=.*/Categories=Qt;Network;FileTransfer/
+          /^NotShowIn=/d' ubuntuone-installer.desktop.in
+}
 
+build() {
+  cd "$srcdir/$pkgname-$pkgver"
   python2 setup.py build
 }
 
 package() {
   cd "$srcdir/$pkgname-$pkgver"
-
   python2 setup.py install --root=$pkgdir/ --optimize=1
 
   # We don't have Apport in Arch Linux




More information about the arch-commits mailing list