# $Id: PKGBUILD 111783 2014-05-24 14:06:14Z bgyorgy $ # Maintainer: Balló György # Contributor: Jonathan Conder pkgname=gnome-packagekit pkgver=3.12.2 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/' license=('GPL') depends=('desktop-file-utils' 'gtk3' 'libnotify' 'packagekit') makedepends=('intltool' 'itstool' 'docbook-xsl' 'libcanberra') install="$pkgname.install" source=("http://ftp.gnome.org/pub/gnome/sources/$pkgname/${pkgver%.*}/$pkgname-$pkgver.tar.xz" "packagekit-0.8.patch") sha256sums=('a4d5fca6f9481b48202f996c8a3835051c98b6e6df0929394704c3c41e28afb2' '717ba4d281adbafc9409202538ad1c8ce9a2bb41a6a0bc127e8dd5c4c1da1d65') prepare() { cd "$srcdir/$pkgname-$pkgver" patch -RNp1 -i "$srcdir/packagekit-0.8.patch" _mime='application/x-xz-compressed-tar;application/x-servicepack;' sed -i "s@MimeType=.*@MimeType=$_mime@" data/gpk-install-local-file.desktop.in } build() { cd "$srcdir/$pkgname-$pkgver" ./configure --prefix=/usr \ --sysconfdir=/etc \ --disable-schemas-compile \ PYTHON=/usr/bin/python2 make } package() { cd "$srcdir/$pkgname-$pkgver" make DESTDIR="$pkgdir" install }