[arch-commits] Commit in ubuntuone-control-panel/repos/community-any (2 files)
Balló György
bgyorgy at nymeria.archlinux.org
Tue Apr 2 00:52:49 UTC 2013
Date: Tuesday, April 2, 2013 @ 02:52:49
Author: bgyorgy
Revision: 87516
archrelease: copy trunk to community-any
Added:
ubuntuone-control-panel/repos/community-any/PKGBUILD
(from rev 87515, ubuntuone-control-panel/trunk/PKGBUILD)
Deleted:
ubuntuone-control-panel/repos/community-any/PKGBUILD
----------+
PKGBUILD | 73 +++++++++++++++++++++++++++++++++----------------------------
1 file changed, 40 insertions(+), 33 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2013-04-02 00:52:43 UTC (rev 87515)
+++ PKGBUILD 2013-04-02 00:52:49 UTC (rev 87516)
@@ -1,33 +0,0 @@
-# $Id$
-# Maintainer: Balló György <ballogyor+arch at gmail dot com>
-
-pkgname=ubuntuone-control-panel
-pkgver=4.0.0
-pkgrel=1
-pkgdesc="Graphical user interface that allows the users to manage their Ubuntu One subscription and preferences"
-arch=('any')
-url="https://launchpad.net/ubuntuone-control-panel"
-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')
-
-build() {
- cd "$srcdir/$pkgname-$pkgver"
- sed -i 's@^#!.*python$@#!/usr/bin/python2@' bin/*
-
- # Fix desktop file category
- sed -i 's/Categories=.*/Categories=Qt;Network;FileTransfer/' ubuntuone-installer.desktop.in
-
- python2 setup.py build
-}
-
-package() {
- cd "$srcdir/$pkgname-$pkgver"
-
- python2 setup.py install --root=$pkgdir/ --optimize=1
-
- # Remove unneeded files
- rm "$pkgdir"/usr/share/ubuntuone-control-panel/*.ttf
-}
Copied: ubuntuone-control-panel/repos/community-any/PKGBUILD (from rev 87515, ubuntuone-control-panel/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2013-04-02 00:52:49 UTC (rev 87516)
@@ -0,0 +1,40 @@
+# $Id$
+# Maintainer: Balló György <ballogyor+arch at gmail dot com>
+
+pkgname=ubuntuone-control-panel
+pkgver=4.2.0
+pkgrel=1
+pkgdesc="Graphical user interface that allows the users to manage their Ubuntu One subscription and preferences"
+arch=('any')
+url="https://launchpad.net/ubuntuone-control-panel"
+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')
+
+build() {
+ cd "$srcdir/$pkgname-$pkgver"
+
+ # Python2 fix
+ 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
+
+ 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
+ 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