summaryrefslogtreecommitdiff
path: root/community/packagekit
diff options
context:
space:
mode:
Diffstat (limited to 'community/packagekit')
-rw-r--r--community/packagekit/PKGBUILD10
1 files changed, 7 insertions, 3 deletions
diff --git a/community/packagekit/PKGBUILD b/community/packagekit/PKGBUILD
index f7b298cf3..bc9104bfe 100644
--- a/community/packagekit/PKGBUILD
+++ b/community/packagekit/PKGBUILD
@@ -1,9 +1,9 @@
-# $Id: PKGBUILD 99944 2013-10-31 02:36:53Z allan $
+# $Id: PKGBUILD 102883 2013-12-23 10:36:15Z bgyorgy $
# Maintainer: Jonathan Conder <jonno.conder@gmail.com>
pkgbase='packagekit'
pkgname=('packagekit' 'packagekit-qt2' 'python2-packagekit')
pkgver=0.7.6
-pkgrel=10
+pkgrel=11
pkgdesc="A system designed to make installation and updates of packages easier."
arch=('i686' 'x86_64')
url="http://www.packagekit.org"
@@ -20,7 +20,7 @@ sha256sums=('82c0a553075d49add3c4f58e6e93f7f3613938809a4b8e36f46476e86981b45d'
'c7f6da04f5b8f09e6d884ae4f480c064eae10de1d2528bf14d2f55b34e472c23'
'0d3798c8992afdc0930aa271b3e44deb55c046ab4adee25b4ec4c33bcdd950e2')
-build() {
+prepare() {
cd "$srcdir/PackageKit-$pkgver"
sed -i 's@SUBDIRS = test@SUBDIRS =@' 'backends/Makefile.in'
@@ -31,6 +31,10 @@ build() {
patch -Np1 -i "$srcdir/alpm.patch"
patch -Np1 -i "$srcdir/libarchive.patch"
sed -i 's@sbin_PROGRAMS@bin_PROGRAMS@' 'contrib/device-rebind/Makefile.am'
+}
+
+build() {
+ cd "$srcdir/PackageKit-$pkgver"
export PYTHON=/usr/bin/python2
./autogen.sh --prefix=/usr \