[arch-commits] Commit in packagekit/trunk (PKGBUILD)

Christian Hesse eworm at archlinux.org
Sun Feb 8 21:41:40 UTC 2015


    Date: Sunday, February 8, 2015 @ 22:41:40
  Author: eworm
Revision: 127312

upgpkg: packagekit 1.0.4-3

* remove build dependency for pm-utils (upstream removed support with commit "Remove PmUtils script helper" 7231e6a2)
* fix upstream bug "alpm: remove is broken" (#39)

Modified:
  packagekit/trunk/PKGBUILD

----------+
 PKGBUILD |   18 ++++++++++++++----
 1 file changed, 14 insertions(+), 4 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2015-02-08 19:22:44 UTC (rev 127311)
+++ PKGBUILD	2015-02-08 21:41:40 UTC (rev 127312)
@@ -4,7 +4,7 @@
 
 pkgname='packagekit'
 pkgver=1.0.4
-pkgrel=2
+pkgrel=3
 pkgdesc='A system designed to make installation and updates of packages easier'
 arch=('i686' 'x86_64')
 url='http://www.packagekit.org/'
@@ -11,7 +11,7 @@
 license=('GPL')
 depends=('dbus-glib' 'pacman' 'polkit' 'shared-mime-info' 'sqlite')
 makedepends=('dbus-glib' 'gobject-introspection' 'gtk-doc' 'intltool'
-	'networkmanager' 'pacman>=4.2.0'  'pm-utils' 'polkit'
+	'networkmanager' 'pacman>=4.2.0' 'polkit'
 	'shared-mime-info' 'sqlite' 'bash-completion')
 optdepends=('networkmanager: detect connection status'
 	'bash-completion: command completion in bash')
@@ -20,13 +20,23 @@
 	'etc/PackageKit/alpm.d/pacman.conf'
 	'etc/PackageKit/alpm.d/repos.list')
 validpgpkeys=('163EB50119225DB3DF8F49EA17ACBA8DFA970E17') # Richard Hughes
-source=("http://www.freedesktop.org/software/PackageKit/releases/PackageKit-${pkgver}.tar.xz"{,.asc})
+source=("http://www.freedesktop.org/software/PackageKit/releases/PackageKit-${pkgver}.tar.xz"{,.asc}
+	'packagekit-0001-fix-bad-event-usage-when-removing-package.patch::https://github.com/hughsie/PackageKit/commit/d4e5654eff038e828e142d4e0fefc64e1e2491e7.patch'
+	'packagekit-0002-honor-simulate-flag-while-removing-packages.patch::https://github.com/hughsie/PackageKit/commit/b024647bd4e6ced41e811b88aea1cea16cb28dfb.patch')
 sha256sums=('1b949a7dc92e20f7d7deb634e5b399148dbb749e813cea955f1546a99e169a71'
-	'SKIP')
+	'SKIP'
+	'bb2ea68145af2e542c74b5e76ec729c46f65345861b624cb37695830b899ecbf'
+	'4c2ca5ee5b60257ecf67c3822561510587b0afe263abf4fba98879d4d15156ea')
 
 prepare() {
 	cd "${srcdir}/PackageKit-${pkgver}"
 
+	# https://github.com/hughsie/PackageKit/pull/43/commits
+	# alpm: fix bad event usage when removing package
+	patch -Np1 < "${srcdir}/packagekit-0001-fix-bad-event-usage-when-removing-package.patch"
+	# alpm: honor simulate flag while removing packages
+	patch -Np1 < "${srcdir}/packagekit-0002-honor-simulate-flag-while-removing-packages.patch"
+
 	# packagekit does not know about updates made by pacman while daemon is running
 	# https://github.com/hughsie/PackageKit/issues/15
 	# For now we just exit the daemon... It will launch with a clean status if required.



More information about the arch-commits mailing list