From 98bf2ac3fdd6f7bcb6ce45c932fc13c07fecc03f Mon Sep 17 00:00:00 2001 From: root Date: Wed, 25 Apr 2012 00:01:35 +0000 Subject: Wed Apr 25 00:01:35 UTC 2012 --- community/gnome-packagekit/PKGBUILD | 25 ++++++++++++------------- 1 file changed, 12 insertions(+), 13 deletions(-) (limited to 'community/gnome-packagekit') diff --git a/community/gnome-packagekit/PKGBUILD b/community/gnome-packagekit/PKGBUILD index 0031681b5..2c59d7633 100644 --- a/community/gnome-packagekit/PKGBUILD +++ b/community/gnome-packagekit/PKGBUILD @@ -1,9 +1,9 @@ -# $Id: PKGBUILD 68215 2012-03-19 12:02:37Z lfleischer $ +# $Id: PKGBUILD 69732 2012-04-23 09:07:15Z ibiru $ # Maintainer: Jonathan Conder pkgname=gnome-packagekit -pkgver=3.2.1 -pkgrel=2 +pkgver=3.4.0 +pkgrel=1 pkgdesc='Collection of graphical tools for PackageKit to be used in the GNOME desktop' arch=('i686' 'x86_64') url='http://www.packagekit.org/' @@ -11,20 +11,21 @@ license=('GPL') depends=('dconf' 'desktop-file-utils' 'gtk3' 'hicolor-icon-theme' 'libnotify' 'packagekit') makedepends=('gconf' 'gtk-doc' 'intltool' 'libcanberra' 'upower') -optdepends=('gnome-settings-daemon-updates: update and message notifications') +optdepends=('polkit-gnome: required for privileged actions' + 'gnome-settings-daemon-updates: update and message notifications') options=('!emptydirs' '!libtool') install="$pkgname.install" -source=("http://ftp.gnome.org/pub/gnome/sources/$pkgname/${pkgver%.*}/$pkgname-$pkgver.tar.xz" - 'arch.patch') -sha256sums=('7a6383a2a91fd29c0b6fd9b8900d498efd2e38b89149470433748d989926c341' - '9c809ac3c8bbf870442e7bc4123c70b144930a287b28626be1b8bae95edf71ac') +source=("http://ftp.gnome.org/pub/gnome/sources/$pkgname/${pkgver%.*}/$pkgname-$pkgver.tar.xz") +sha256sums=('4f23be695b70bdda8b5c15237472a735bb1745af11dbc324eead9b988f2343c6') build() { cd "$srcdir/$pkgname-$pkgver" - patch -Np1 -i "$srcdir/arch.patch" - sed -i 's/python/python2/' python/enum-convertor.py - sed -i 's/python enum-convertor.py/python2 enum-convertor.py/' python/packagekit/Makefile.{am,in} + _mime='application/x-xz-compressed-tar;application/x-servicepack;' + sed -i "s@MimeType=.*@MimeType=$_mime@" data/gpk-install-local-file.desktop.in + + sed -i 's@python@python2@' python/enum-convertor.py + sed -i 's@python enum-convertor.py@python2 enum-convertor.py@' python/packagekit/Makefile.{am,in} export PYTHON=/usr/bin/python2 ./configure --prefix=/usr \ @@ -39,6 +40,4 @@ package() { cd "$srcdir/$pkgname-$pkgver" make -s DESTDIR="$pkgdir" install - - rm -rf "$pkgdir/usr/lib/gnome-settings-daemon-3.0/gtk-modules" } -- cgit v1.2.3-54-g00ecf