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

Christian Hesse eworm at archlinux.org
Sat Aug 27 20:55:58 UTC 2016


    Date: Saturday, August 27, 2016 @ 20:55:57
  Author: eworm
Revision: 187827

upgpkg: packagekit 1.1.3-2

fix crash (FS#50526)

Modified:
  packagekit/trunk/PKGBUILD

----------+
 PKGBUILD |   14 +++++++++++---
 1 file changed, 11 insertions(+), 3 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2016-08-27 16:30:38 UTC (rev 187826)
+++ PKGBUILD	2016-08-27 20:55:57 UTC (rev 187827)
@@ -4,7 +4,7 @@
 
 pkgname='packagekit'
 pkgver=1.1.3
-pkgrel=1
+pkgrel=2
 pkgdesc='A system designed to make installation and updates of packages easier'
 arch=('i686' 'x86_64')
 url='http://www.packagekit.org/'
@@ -20,10 +20,18 @@
 validpgpkeys=(
 	'163EB50119225DB3DF8F49EA17ACBA8DFA970E17'	# Richard Hughes <richard at hughsie.com>
 	'EC60AABDF42AAE8FB062640480858FA38F62AF74')	# Kalev Lember <klember at redhat.com>
-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-do-not-crash.patch::https://github.com/hughsie/PackageKit/commit/3c121a4f86d01d27399f0c2bbace6df03800a1d1.patch')
 sha256sums=('e8d42d1c49b58f9dba85dbb634bcdc986f5f478ef26d1f50a3453353cd33b841'
-            'SKIP')
+            'SKIP'
+	    '91438699359b28717e3e712a0d08f7d736583b2b2913d4a9dd8b3fa96458b3b0')
 
+prepare() {
+	cd "${srcdir}/PackageKit-${pkgver}"
+
+	patch -Np1 < "${srcdir}/packagekit-do-not-crash.patch"
+}
+
 build() {
 	cd "${srcdir}/PackageKit-${pkgver}"
 



More information about the arch-commits mailing list