summaryrefslogtreecommitdiff
path: root/community/packagekit/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'community/packagekit/PKGBUILD')
-rw-r--r--community/packagekit/PKGBUILD31
1 files changed, 16 insertions, 15 deletions
diff --git a/community/packagekit/PKGBUILD b/community/packagekit/PKGBUILD
index 410da5d19..db85f1053 100644
--- a/community/packagekit/PKGBUILD
+++ b/community/packagekit/PKGBUILD
@@ -1,33 +1,34 @@
-# $Id: PKGBUILD 43963 2011-04-01 10:59:14Z jconder $
+# $Id: PKGBUILD 46893 2011-05-13 13:47:07Z jconder $
# Maintainer: Jonathan Conder <jonno.conder@gmail.com>
pkgbase='packagekit'
pkgname=('packagekit' 'packagekit-qt' 'packagekit-python')
-pkgver=0.6.13
-pkgrel=2
+pkgver=0.6.14
+pkgrel=1
pkgdesc="A system designed to make installation and updates of packages easier."
arch=('i686' 'x86_64')
url="http://www.packagekit.org"
license=('GPL')
makedepends=('dbus-glib' 'gobject-introspection' 'gtk-doc' 'intltool'
'networkmanager' 'pacman' 'pm-utils' 'polkit' 'python2' 'qt'
- 'sqlite3')
+ 'shared-mime-info' 'sqlite3' 'udev')
options=('!libtool')
source=("http://www.packagekit.org/releases/PackageKit-$pkgver.tar.bz2"
'alpm.patch')
-sha256sums=('cec67a54cd615163402b1e5100a6a9be0bd1838896d6183407b4d9274de47249'
- '777b1cda90f8cc78eb5cf651d47b5c7b6f183a34b98ad0d93945c76973bd29de')
+sha256sums=('2efe643be619b6d7db61ccad81261ac7a686cd0000ffd87f04baadec7857e7df'
+ '774016e27a60ea6588fa6f63363dfa290d7596b3dae29d0a829593ce2e46f38a')
build() {
cd "$srcdir/PackageKit-$pkgver"
patch -Np1 -i "$srcdir/alpm.patch"
+ sed -i 's@cache/pacman/pkg@cache/pacman/pkg/@' 'backends/alpm/Makefile.in'
- # TODO: change to Makefile.in's and configure
- sed -i 's@SUBDIRS = test@SUBDIRS =@' 'backends/Makefile.am'
- sed -i 's@python @python2 @' 'lib/python/packagekit/Makefile.am'
+ sed -i 's@SUBDIRS = test@SUBDIRS =@' 'backends/Makefile.in'
+ sed -i 's@python @python2 @' 'lib/python/packagekit/Makefile.in'
+ sed -i 's@bin/python@bin/python2@' 'lib/python/packagekit/'*.py
export PYTHON=/usr/bin/python2
- ./autogen.sh --prefix=/usr \
+ ./configure --prefix=/usr \
--sysconfdir=/etc \
--localstatedir=/var \
--libexecdir=/usr/lib/PackageKit \
@@ -45,7 +46,7 @@ build() {
--disable-dummy \
--enable-alpm \
--with-default-backend=alpm
- make
+ make -s
}
package_packagekit() {
@@ -53,7 +54,7 @@ package_packagekit() {
'etc/PackageKit/alpm.d/pacman.conf'
'etc/PackageKit/alpm.d/repos.list')
depends=('dbus-glib' 'pacman>=3.5.0' 'pacman<3.6.0' 'polkit'
- 'shared-mime-info' 'sqlite3')
+ 'shared-mime-info' 'sqlite3' 'udev')
optdepends=('networkmanager')
install='packagekit.install'
@@ -61,9 +62,9 @@ package_packagekit() {
make DESTDIR="$pkgdir" install
- rm -rf "$pkgdir/usr/include/PackageKit/packagekit-qt"
- rm -rf "$pkgdir/usr/lib/libpackagekit-qt.so"*
- rm -rf "$pkgdir/usr/lib/pkgconfig/packagekit-qt.pc"
+ rm -rf "$pkgdir/usr/include/PackageKit/packagekit-qt"*
+ rm -rf "$pkgdir/usr/lib/libpackagekit-qt"*
+ rm -rf "$pkgdir/usr/lib/pkgconfig/packagekit-qt"*
rm -rf "$pkgdir/usr/share/cmake"
rm -rf "$pkgdir/usr/lib/python"*