[arch-commits] Commit in ubuntuone-control-panel/trunk (PKGBUILD)
Balló György
bgyorgy at nymeria.archlinux.org
Tue Apr 2 00:52:43 UTC 2013
Date: Tuesday, April 2, 2013 @ 02:52:43
Author: bgyorgy
Revision: 87515
upgpkg: ubuntuone-control-panel 4.2.0-1
Update to version 4.2.0
Modified:
ubuntuone-control-panel/trunk/PKGBUILD
----------+
PKGBUILD | 17 ++++++++++++-----
1 file changed, 12 insertions(+), 5 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2013-04-02 00:47:12 UTC (rev 87514)
+++ PKGBUILD 2013-04-02 00:52:43 UTC (rev 87515)
@@ -2,7 +2,7 @@
# Maintainer: Balló György <ballogyor+arch at gmail dot com>
pkgname=ubuntuone-control-panel
-pkgver=4.0.0
+pkgver=4.2.0
pkgrel=1
pkgdesc="Graphical user interface that allows the users to manage their Ubuntu One subscription and preferences"
arch=('any')
@@ -10,15 +10,18 @@
license=('GPL')
depends=('ubuntuone-client')
makedepends=('python2-distutils-extra')
-source=(http://launchpad.net/ubuntuone-control-panel/stable-4-0/$pkgver/+download/$pkgname-$pkgver.tar.gz)
-md5sums=('63f49118722bcb45dba5fa58918b2b92')
+source=(https://launchpad.net/ubuntuone-control-panel/stable-4-2/$pkgver/+download/$pkgname-$pkgver.tar.gz)
+md5sums=('19afeb2cf7090c1bef0f12ed0c35942d')
build() {
cd "$srcdir/$pkgname-$pkgver"
+
+ # Python2 fix
sed -i 's@^#!.*python$@#!/usr/bin/python2@' bin/*
- # Fix desktop file category
- sed -i 's/Categories=.*/Categories=Qt;Network;FileTransfer/' ubuntuone-installer.desktop.in
+ # Fix desktop file
+ sed -i 's/^Categories=.*/Categories=Qt;Network;FileTransfer/' ubuntuone-installer.desktop.in
+ sed -i '/^NotShowIn=/d' ubuntuone-installer.desktop.in
python2 setup.py build
}
@@ -28,6 +31,10 @@
python2 setup.py install --root=$pkgdir/ --optimize=1
+ # We don't have Apport in Arch Linux
+ rm -r "$pkgdir"/usr/share/apport
+
# Remove unneeded files
rm "$pkgdir"/usr/share/ubuntuone-control-panel/*.ttf
+ rm "$pkgdir/usr/share/applications/ubuntuone-control-panel-qt-gnome.desktop"
}
More information about the arch-commits
mailing list